ASP.NET Custom Validator Example(dotnetblogger.com)

submitted by rockinthesixstringrockinthesixstring(255) 3 years, 1 month ago

In my current project, I had a need for advanced validation on some "fiscal year" textboxes. My client needed the textbox to be able to either accept a year (1980) or a back-to-back year range (80-81). After first trying to do the validation solely server side (eliminating the validator all together), I decided that if I wanted the site to be consistant in it's methodology behind validation, I needed to buckle down and tackle the <asp:CustomValidator />.

add a comment |category: |Views: 84

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