Рет қаралды 174,184
Text version of the video
csharp-video-tutorials.blogspo...
Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our KZbin channel. Hope you can help.
/ @aarvikitchen5572
Slides
csharp-video-tutorials.blogspo...
All ASP .NET Text Articles
csharp-video-tutorials.blogspo...
All ASP .NET Slides
csharp-video-tutorials.blogspo...
All Dot Net and SQL Server Tutorials in English
kzbin.info...
All Dot Net and SQL Server Tutorials in Arabic
/ kudvenkatarabic
Validation controls are used to ensure if, the data, entered by the user is valid. Microsoft asp.net framework, provides 6 built-in validation controls.
RequiredFieldValidator,
RangeValidator,
RegularExpressionValidator,
CompareValidator,
CustomValidator,
ValidationSummary
These validation controls can be used to perform both client side and server side validation.
Browser's understand only client scripts and HTML. In the past to perform client side validation, developers had to write themselves the required javascript code. With validation controls, we don't have to write javascript, we can use the built-in validation controls, which will generate the required javascript for us.
Client scripts can spread viruses and cause security concerns. Because of this, users may disable javascript on their browser. If this happens, client side validation is skipped. That is why, it is always a good practice to have server side validation as well.
Page.IsValid is a read-only property. This property returns true if all the validation controls has passed validation. Use this property to perform server side validation.