Setting the default Button for a TextBox in ASP.NET

1) ref: http://weblogs.asp.net/jeff/archive/2005/07/26/420618.aspx EmailTextBox.Attributes.Add(“onKeyPress”, “javascript:if (event.keyCode == 13) __doPostBack(‘” + LoginButton.UniqueID + “‘,”)”); 2)

ref: http://weblogs.asp.net/rajbk/archive/2003/12/11/setting-the-default-button-for-a-textbox-in-asp-net.aspx

function clickButton(e, buttonid){

June 11th, 2010 | Tags: | Category: ASP.NET | Comments are closed

JQuery IntelliSense in Visual Studio 2008

JQuery IntelliSense in Visual Studio 2008http://blogs.ipona.com/james/archive/2008/02/15/JQuery-IntelliSense-in-Visual-Studio-2008.aspx

VS 2008 Web Development Hot-Fix Roll-Up Availablehttp://weblogs.asp.net/scottgu/archive/2008/02/08/vs-2008-web-development-hot-fix-roll-up-available.aspx

Javascript HTML Beautifiers

http://jsbeautifier.org/

http://infohound.net/tidy/

BinaryFormatter for Net Compact Framework

Here is a forum thread http://community.opennetcf.com/forums/p/6466/6466.aspx Here is a free implementation http://www.codeproject.com/KB/cs/CF_serializer.aspx Following ref proved that CF does not have OOB binaryFormatter “Differences Between the .NET Compact Framework and the .NET Framework” http://msdn.microsoft.com/en-us/library/2weec7k5.aspx

=> Have i said “sql ce rocks”? http://bit.ly/dcbYNCdownload Sql2005CE

=> Sql Server 2008 CE info and download: http://www.microsoft.com/sqlserver/2008/en/us/compact.aspx […]

User Agent strings

http://www.useragentstring.com/pages/useragentstring.php

http://www.cloudfour.com/mobile/summary.php?sort=DATE&last_agent=6311#row6311

Browser Detection using ASP.NET http://www.codeproject.com/KB/aspnet/browsercaps.aspx?msg=1379077

Events in ASP.NET Master and Content Pages

http://msdn.microsoft.com/en-us/library/dct97kc3.aspx http://www.attackwork.com/BlogEntry/15/Master-Page-and-Control-Page-Event-Execution-Order/Default.aspx Nic.tr’nin yaşadığı DDoS problemi üzerine…Nic.tr’nin yaşadığı DDoS problemi üzerine… http://www.volkanoransoy.com/nic-trnin-yasadigi-ddos-problemi-uzerine/ ‘Anti-Isil group’ claim responsibility for BBC shut down New World Hacking says it carried out the distributed denial of service attack on Thursday morning http://www.telegraph.co.uk/news/bbc/12078042/US-based-hacking-group-claim-responsibility-for-BBC-shut-down.html

Web attack knocks BBC websites offline http://www.bbc.com/news/technology-35204915

‘Anti-IS group’ claims BBC website attack http://www.bbc.com/news/technology-35213415

About DDoS Attacks https://www.blacklotus.net/learn/about-ddos-attacks/

[…]

Usage share of web browsers

http://en.wikipedia.org/wiki/Usage_share_of_web_browsers

http://www.w3schools.com/browsers/browsers_stats.asp

2010 IE8 IE7 IE6 Firefox Chrome Safari Opera January 14.3% 11.7% 10.2% 46.3% 10.8% 3.7% 2.2% 2009 IE8 IE7 IE6 Firefox Chrome Safari Opera December 13.5% 12.8% 10.9% 46.4% 9.8% 3.6% 2.3% November 13.3% 13.3% 11.1% 47.0% 8.5% 3.8% 2.3%

[…]

When using RegisterClientScript do not use this.GetType() …

Quoted from: http://blogs.ipona.com/james/archive/2006/10/03/6710.aspx

Page.ClientScript.RegisterClientScriptBlock(this.GetType(), “Script”, scriptText); This is not good. Why not? Well, this.GetType() is a way of getting the runtime type of an object. That’s not necessarily the same type as the one in which this bit of code is being declared. So what? Does that actually make any difference? Well, yes, if anyone […]

Using a Validator to Validate a Check Box

Quoted from: http://blogs.vbcity.com/djjeavons/archive/2006/07/03/6069.aspx I. If you are using static, page written, ebcontrols..::.. 1) add a check box to the page named “chkTandCs” 2) <script language=”javascript” type=”text/javascript”> function ValidateTandCs(source, args) { args.IsValid = document.getElementById(‘<%= chkTandCs.ClientID %>’).checked; } <script> 3) <asp:customvalidator id=”valTandCs” clientvalidationfunction=”ValidateTandCs” runat=”server” errormessage=”Please accept Terms and Conditions before submitting.”><asp:CustomValidator> II. If you are using Dynamic […]

When generating webcontrols on the fly, keep in mind…

Hi,

I have been working on a code snippet that was rendering ASP.NET server side webcontrols such as TextBox, DropDownList, Validators, … etc . The problem was there was a bug that prevented regularExpression validators not to be rendered even they have been added to the page at runtime. I was added two kinds of […]