|
-
October 1st, 2005, 07:29 AM
#1
How to use JavaScript function in user control in ASP.net
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|