Click here to Skip to main content
15,919,931 members

Comments by Kiran B S (Top 4 by date)

Kiran B S 1-Oct-13 3:36am View    
For readability I have given like this actually I used double quotes like \" instead '.
Moreover, giving single quotes is working fine for other statements.

Here I wanted is before response to the browser need to add the event, I guess it is not possible but give me other way to achieve this, i.e., Add event for the dynamic control.
Kiran B S 23-Sep-13 5:25am View    
Thank you very much CodeStar007, the first link which you have given is working.
Kiran B S 19-Oct-12 6:10am View    
Deleted
Very funny :-)

sorry about that here is the code

<table border="0" style="border-spacing:5px;">
<tr>
<td>User Name</td>
<td>:</td>
<td><asp:TextBox runat="server" ID="txtUserName"></td>
</tr>

<tr>
<td colspan="3" style="text-align:right;"><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Enter User Name" ControlToValidate="txtUserName" CssClass="errText" Display="Dynamic" ValidationGroup="vgLogin"></td>
</tr>

<tr>
<td>Password</td>
<td>:</td>
<td><asp:TextBox runat="server" ID="txtPassword" TextMode="Password"></td>
</tr>

<tr><td colspan="3" style="text-align:right;"><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Enter Password" ControlToValidate="txtPassword" CssClass="errText" Display="Dynamic" ValidationGroup="vgLogin"></td></tr>

<tr style="text-align:right;">
<td colspan="3">Forget Password  <asp:Button ID="btnLogin" runat="server" CssClass="btnStyle" Text="Login" OnClick="btnLogin_Click" ValidationGroup="vgLogin" CausesValidation="true" /></td>
</tr>

<tr style="text-align:right;">
<td colspan="3" style="text-align:center"><asp:Label runat="server" ID="lblMessage"></td>
</tr>
</table>
Kiran B S 1-Oct-10 4:57am View    
I think your answer will workout for me. Could you explain me in deep or give some blog link regarding this issue please.