rajesh20k
October 1st, 2005, 07:29 AM
Hi all,
We are developing client/server application in ASP.net with VB.net. We would like to use validation control using JavaScript. DotNet provides validation control but this is not fulfilling our requirement. We like to make a different type of function to validate email, website, numeric, alphanumeric and date type. But, my question is how to use this function in user control not webpage.
Let me explain with an example.
Suppose, a project contains one webpage and one usercontrol. User control (.ascx) is placed on webpage (.aspx). Three - text box and one button (This is web control not html control) are placed on user control (.ascx). Suppose, we press the button then textboxes should be validated. But page should not be post back until all textbox is not validated.
Any help is appreciated.
We are developing client/server application in ASP.net with VB.net. We would like to use validation control using JavaScript. DotNet provides validation control but this is not fulfilling our requirement. We like to make a different type of function to validate email, website, numeric, alphanumeric and date type. But, my question is how to use this function in user control not webpage.
Let me explain with an example.
Suppose, a project contains one webpage and one usercontrol. User control (.ascx) is placed on webpage (.aspx). Three - text box and one button (This is web control not html control) are placed on user control (.ascx). Suppose, we press the button then textboxes should be validated. But page should not be post back until all textbox is not validated.
Any help is appreciated.