Hello,
I am new to .Net, I want to know how do I code Server Side
Validation scripting in a .aspx page. I am using Visual Studio .Net 2005.
Please Help me.
Thank you> Hello,
> I am new to .Net, I want to know how do I code Server Side
> Validation scripting in a .aspx page. I am using Visual Studio .Net 2005.
> Please Help me.
> Thank you
Drag a CustomValidator onto the page, set properties like ErrorMessage
(it's permitted to leave ControlToValidate blank!). Double click it, to
create a server-side handler.
Add any testing code and set the args.IsValid to true or false,
depending on the result of the test.
Note: when you set the ControlToValidate to some control (textbox), and
the value of that control is empty, the validator (read: your server
side code) is NOT run. If you leave ControlToValidate empty, your code
is always run.
Hans Kesting
Showing posts with label sidevalidation. Show all posts
Showing posts with label sidevalidation. Show all posts
Thursday, March 29, 2012
Server Side Scripting in ASP.Net
Hello,
I am new to .Net, I want to know how do I code Server Side
Validation scripting in a .aspx page. I am using Visual Studio .Net 2005.
Please Help me.
Thank youHello,
Drag a CustomValidator onto the page, set properties like ErrorMessage
(it's permitted to leave ControlToValidate blank!). Double click it, to
create a server-side handler.
Add any testing code and set the args.IsValid to true or false,
depending on the result of the test.
I am new to .Net, I want to know how do I code Server Side
Validation scripting in a .aspx page. I am using Visual Studio .Net 2005.
Please Help me.
Thank youHello,
Quote:
Originally Posted by
I am new to .Net, I want to know how do I code Server Side
Validation scripting in a .aspx page. I am using Visual Studio .Net 2005.
Please Help me.
Thank you
Drag a CustomValidator onto the page, set properties like ErrorMessage
(it's permitted to leave ControlToValidate blank!). Double click it, to
create a server-side handler.
Add any testing code and set the args.IsValid to true or false,
depending on the result of the test.
Note: when you set the ControlToValidate to some control (textbox), and
the value of that control is empty, the validator (read: your server
side code) is NOT run. If you leave ControlToValidate empty, your code
is always run.
Hans Kesting
Subscribe to:
Posts (Atom)