Category Archives: Uncategorized

ASP.Net 4.5 Changes —

http://www.asp.net/vnext/whats-new#_Toc303354468 Advertisements

Posted in Uncategorized | Leave a comment

MS Community Contribution Award 2011

I’m honored to receive the “Microsoft Community Contribution Award 2011”. Thank you Microsoft. It feels great, being able to contribute/help in any aspect of life, —  to make a small positive difference to someone. Many thanks!!!.

Posted in Uncategorized | Leave a comment

Get All Validators For any control Clientside

Here’s an example <form id=”form1″ runat=”server”> <asp:ScriptManager ID=”ScriptManager1″ runat=”server” /> <script language=”javascript” type=”text/javascript”> function abc() { var control = $get(‘<%= txt1.ClientID %>’); for (var i = 0; i < control.Validators.length; i++) { alert(control.Validators[i].isvalid); } } </script> <div> <asp:TextBox ID=”txt1″ runat=”server” … Continue reading

Posted in Uncategorized | Leave a comment

Accessing ID from client-side

(A) BehaviorIDThe BehaviorID property (common to all extenders in the Toolkit) is used to get a reference to the client side object (called behavior because it’s a class that inherits from the Sys.UI.Behavior class).A behavior is a component that extends … Continue reading

Posted in Uncategorized | Leave a comment

Disable/Enable ASP.Net Validators on client-side as well as Server-side.

The Scenario: There are many scenarios wherein we switch the visibility of either Panel control OR div sections. However if we have any validator say a RequiredFieldValidator in any of those hidden panel/div sections, then we need to disable those … Continue reading

Posted in Uncategorized | 1 Comment