Script

Shift Select Check box inside the gridview

19/07/2012 09:30
<div>         <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">            ...

maintain scroll in div or panel

09/07/2012 18:06
  <form id="form1" runat="server">  <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" ScriptMode="Release">     </asp:ToolkitScriptManager>    <script type="text/javascript">       // It is important...

script of disable refresh and back and much more

10/05/2012 11:05
  <head runat="server">     <title>::Online Test::</title>     <link href="StyleSheets/Quiz.css" type="text/css" rel="stylesheet"/>     <script language="javascript" type="text/javascript">     function...

Set Default Button on pageload

03/05/2012 17:38
 txtpassword.Attributes.Add("onKeyPress", "javascript:if (event.keyCode == 13) __doPostBack('" + lnkLogin.UniqueID + "','')");

Focus the next textbox when enter

16/06/2011 11:10
  In this short and simple article, we will see how to tab through the TextBoxes with the Enter Key using jQuery. This article is a chapter from my EBook called 51 Recipes with jQuery and ASP.NET Controls. The chapter has been modified a little to publish it as an article. Note that for...

java script return false-oncut oncopy onpaste

16/06/2011 11:07
<asp:TextBox ID="mytxt" runat="server" onCopy = "javascript: return false;" onCut = "javascript: return false;" onPaste = "javascript: return false;" onKeyPress = "javascript: return false;"></asp:TextBox>