A Google Maps .Net Control
(September 3, 2005)
CheckBoxList Web Server Control
(July 22, 2005)
ASP Alliance has a cool tutorial on checkboxlist web server controls.
CheckboxList web server control is the same as Checkbox control. Before reading this article, please read my article on CheckBox Web Server Control. In this article we will see how to use the CheckboxList Web server control
- How to assign text and retrieve values from a CheckboxList control?
- How to go through all the elements inside a CheckBoxList?
- How to find the selected items in a CheckBoxList?
Label Web Server Control
(July 8, 2005)
Data Binding Server Controls
(June 16, 2005)
ASP.NET introduces a new declarative data binding syntax. This extremely flexible syntax permits the developer to bind not only to data sources, but also to simple properties, collections, expressions, and even results returned from method calls. The following table shows some examples of the new syntax.
| Simple property | Customer: <%# custID %> |
| Collection | Orders: <asp:ListBox id="List1" datasource='<%# myArray %>' runat="server"> |
| Expression | Contact: <%# ( customer.FirstName + " " + customer.LastName ) %> |
| Method result | Outstanding Balance: <%# GetBalance(custID) %> |
Applying Styles to Controls
(June 16, 2005)
The Web is a flexible environment for user interfaces, with extreme variations in the look and feel of different Web sites. The widespread adoption of cascading style sheets (CSS) is largely responsible for the rich designs encountered on the Web. All of ASP.NET's HTML server controls and Web server controls have been designed to provide first-class support for CSS styles. This section discusses how to use styles in conjunction with server controls and demonstrates the very fine control over the look and feel of your Web Forms that they provide. 




