Javascript for validating textbox in asp net

Here, I am trying to show you how to use j Query Validation plugin in Asp.

Now submit the form without filling any details and you will see the following validations appear.

gets the runtime generated ID which is different(not always) from server side ID.

I have an Text Box control on my page and a search button whenever user clicks on the search button i want to validate the Text Box for Blank.

for the next requirement of yours ie., for checking if it is 6 letters followed by 6 numbers, i suggest that u can use the regular expression validator control and get the text box validated.

Never forget to validate the submitted data to server. Now you can ask questions directly to me on my new site ASPForums. Net Question Answer site, specially started to allow visitors of this site ask their doubts and queries. Just click the Ask Now button and ask your question now.But even if the framework provides different kinds of validators, there are so many different validations patterns that sometimes you have to write custom code to match your specific requirements.I wrote a post a few months ago about how to write a custom validator for a Checkbox list, but I was dealing with a completely new validation pattern.

Search for javascript for validating textbox in asp net:

javascript for validating textbox in asp net-44javascript for validating textbox in asp net-35

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “javascript for validating textbox in asp net”