.net Wand
.net used for magic
Browse by Tags
All Tags
»
WebControls
(
RSS
)
asp.net
Reusing custom validator
Monday, November 12, 2007 12:54 PM
do u have custom validation code that u need to resuse, do u find yourself copying code of validation between pages well here's how to build a custom validator all you have to do besides inheriting Control is implement the IValidator Interface and here u go public class ValidatorControl: Control,IValidator {}
Read More...
Validatable ASP.net WebCustomControl
Monday, November 12, 2007 12:52 PM
when u add a required field validator to your page u get to select which control to validate, so what if u created that control you want to validate... just add the Attribute [ValidationProperty("PropertyName")] to your class and specify which public property of your control to use
Read More...
Go
This Blog
Home
Contact
Links
About
Tags
.net
Ajax
asp.net
C#
code generation
free books
fun
IIS
industry news
javascript
open source
software engineering
source control
SQL Server
tips
tools
vs.net
WebControls
Navigation
Home
Blogs
Forums
Archives
November 2008 (1)
September 2008 (1)
August 2008 (2)
March 2008 (4)
February 2008 (2)
December 2007 (13)
November 2007 (16)
Web 2.0 stuff
Syndication
RSS
Receive Email Updates
Subscribe