in

ASPXWizard.net

.net and Ajax Community

Browse by Tags

  • Reusing custom validator

    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...
    Posted to .net Wand (Weblog) by amir.magdy on 11-12-2007
  • Validatable ASP.net WebCustomControl

    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
    Posted to .net Wand (Weblog) by amir.magdy on 11-12-2007
Page 1 of 1 (2 items)
ASPXWizard.net some rights reserved 2005-2007
Powered by Community Server (Non-Commercial Edition), by Telligent Systems