The ASP.Net validations controls only work client side in IE.
You can make them work in other browsers, coding as below:
C#
Page.Validate();
if ( !Page.IsValid )
{
return;
}
//Continue Your code
VB.NET
Page.Validate()
If Not Page.IsValid Then
Return
End If
'Continue Your code
Have a nice day.
5 comments:
But where can I put this c# code in my asp.net website?
But where can I put this c# code in my asp.net website?
By verifying type information while the customer is stuffing it out, the customer can know instantly if they've created any mistakes.
NET programmers have far more possibilities to earn a steady income as of late. As a developer of the platform, I see to it that I'm usually updated using the present tools and methods.
NET programmers have far more possibilities to earn a steady income as of late. As a developer of the platform, I see to it that I'm usually updated using the present tools and methods.
Post a Comment