Custom textbox validating user input in


25-Nov-2015 19:08

You can use this for example to ensure that password entered matches the confirmation password on input form or to ensure that numeric input value is greater than number you specify.Here is an example of input form that uses comparison validation to ensure that two password fields are the same: Next step is to attach event handler for Validate Value event on custom validator. NET property grid using the combo-box on top of the property grid: With Custom Validator component selected, switch to the event view: And double-click the Validate Value event to create event handler: Here is example code for Validate Value event handler: C# This example validation simply checks whether value entered is “Dot Net Bar” and validates control input if it is. Validating Event On Container At the bottom of this article you can find sample project that shows how to create simple Custom Validator from code.

Super Validator also provides validation based on the Regular Expressions.You can read more about regular expressions in MSDN starting at following URL: Regular Expression Validator is assigned to input field it looks like this in property grid: Super Validator component includes Comparison Validation that allows you to compare values of two input fields or to compare input field value to a predefined value you set.



"I think the way you are with your friends says a lot about a person and that's why is works," says Sarah.… continue reading »


Read more

“I mean, hey, I’m not going to be on the dating site now, because I’m only 17 but I think it’s great.” Andrew Whitney, one of Osterholtz’s friends and a fellow Sanders fan, added that he believed the website would help people who are passionate about politics avoid romantic heartache by highlighting their beliefs up front.… continue reading »


Read more

For years I've helped clients return their life back to normal after finding themselves suddenly-single. Clients who had to fight the deep seated resentment that lived inside their ex — which they didn't even know was there until following my advice. Inside the "Breakup Dojo," your question is probably already answered. Nobody gets this kind of access to me outside of my personal one-to-one coaching clients. Delivered through DAILY EMAILS direct to your inbox. This "contract" is missing when you get information for free or near as. The more money you put on the table, the more serious your game will be. I don't know how, why, or where you received this enlightenment …… continue reading »


Read more

Before he turned 11, Greg was interviewed on 60 Minutes, Late Show with David Letterman and The Oprah Winfrey Show. “There would be people that would recognize me everywhere.” Here, Greg opens up about the whirlwind life of a young person with a brilliant mind and how the media gave his voice an international platform.… continue reading »


Read more