Creating a Required Input Server Control (blog.ourcurrentfuture.com)
submitted by
ourcurrentfuture(1225) 3 years, 9 months ago
One of the most common tasks we perform as ASP.NET developers is adding validated fields to a form. Typically, this involves adding:
* a label to tell the user what information is expected
* a TextBox, DropDrown, CheckBox or other element to collect the data
* a Validator to check whether the data entered is good or not
Rather than always adding these three elements, we can combine them into a single reusable server control. The less elements we need to add to a page, the less time it takes to do so.
|category: ASP.NET
|Views: 7
tags:
ASP.NET another
Everyones tags:
Your Tags: