PeterBlum.com was active from 2002 - 2013, when ASP.NET Web Forms were all the rage.
Thanks for your patronage!
Feel free to browse this preserved snapshot of the products, demos, and documentation from those days. Then hop over to github.com/plblum to see what Peter's been working on lately.
Required Field Markers are a common part of Web user interfaces to point out where a field requires an entry before validation has to complain that something is missing. The marker, usually a text or graphic element, resides nearby the data entry field and is always shown.
DES includes two controls to setup Required Field Markers, the marker itself and a description that appears on top of the page. In addition, each validator has a property to turn on the marker.
The first element shown is the RequiredFieldsDescription control. The validator to the right of the textbox has its ShowRequiredFieldMarker property set, revealing the RequiredFieldMarker control, even when the validator itself is not showing any error message.
<des:RequiredFieldsDescription id=RequiredFieldsDescription1 runat="server"/> <br> <asp:TextBox id=TextBox1 runat="server"></asp:TextBox> <des:RequiredTextValidator id=RequiredTextValidator1 runat="server" ControlIDToEvaluate="TextBox1" ErrorMessage="This field is required" ShowRequiredFieldMarker="True"> <ErrorFormatterContainer> <des:TextErrorFormatter Display="Dynamic"></des:TextErrorFormatter> </ErrorFormatterContainer> </des:RequiredTextValidator>