looking for a brokerage account or IRA... click here Add To Favorites
return to index 

ASP.NET and Javascript Controls

The below allows you to execute javascript and then perform the postback.

sendButton.Attributes.Add("onclick", "this.disabled=true; " + GetPostBackEventReference(sendButton).ToString());

Also see onClientClick for other information

Additional Interesting Articles

Email Deliverability at AOL
C# DataSet v DataReader
Stepwise Linear Regression in t-SQL
ASP.NET and Javascript Controls
Looping Through a SQL Result in C#
C# Serialization

©2008 AndrewKimball.com