Author: kamii47 | Posted on: 7/30/2009 9:04:55 AM | Views : 681

I have a javascript function which will be present in a separate javascript file.
I want's to pass this function a clientId of another control on some button clientClick event
But there is some problem in declaration for retireval of ClientID .
[I want's to avoid any thing from code behind]

Please help me in that
<body> <form id="form1" runat="server"> <div> <p> A number (1 to 10): <asp:TextBox ID="txtValidated" runat="server"></asp:TextBox>  <asp:RangeValidator ID="RangeValidator" runat="server" Display="None" Type="Integer" MinimumValue="1" MaximumValue="10" ControlToValidate="txtValidated" ErrorMessage="The First Number Is Not In The Range">&l ...

Go to the complete details ...