Validating ASPX validation controls in java script(praveenbattula.blogspot.com)

submitted by praveenbattulapraveenbattula(629) 2 years, 4 months ago

Some times we may come across requirements like, we need to validate the ASPX validation controls in java script. For example, on a page we have both ASPX controls like text boxes, drop down lists etc and along with them some html text boxes or select drop down, then we need to validate the form. When you hit submit we need to validate whether form is valid or not. As we use ASP.NET validation controls for .NEt controls, the validation fires automatically. But, what about HTML controls? We need to write our own logic to validate the controls. So, If you want to tell this form is valid then you need some logic to validate both asp.net server side controls and html controls and both are valid then only say form is valid. Take a look at here to solve that problem.

add a comment |category: |Views: 28

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story