G
Guest
In the below listed code, I can force the users to enter date in mm/dd/yy
format.
I tried the dataformat method. But it does no validation at all.
<asp:templatefield
HeaderText="Ist Installed On" >
<edititemtemplate>
<asp:TextBox
ID="gTextBox_dte_install1st" runat="server"
Text='<%# Bind("dte_install1st")%>'
OnChange="NumericValidation(this.id)">
</asp:TextBox>
</edititemtemplate>
format.
I tried the dataformat method. But it does no validation at all.
<asp:templatefield
HeaderText="Ist Installed On" >
<edititemtemplate>
<asp:TextBox
ID="gTextBox_dte_install1st" runat="server"
Text='<%# Bind("dte_install1st")%>'
OnChange="NumericValidation(this.id)">
</asp:TextBox>
</edititemtemplate>