Include
Controls Suite 4.5 |
| Overview |
| Features |
| Reference Book |
| | Deployment |
| Live Demos |
| | Include a file |
| | Include a part of file |
| | Application scenarios |
| | | Update Panel |
|
Customizing the look-and-feel of APNSoft control is accomplished through the following steps:
- Specifying the XML Structure or Data Source.
The control like a Menu or TreeView uses XML for defining structure since XML is the most
convenient format for structured data. You can save the XML structure as a file and bind
the control by specifying the StructureFileURL property. Also, you can set the
DataSource property to specify a source of data and call the DataBind() method.
...
- Applying the Skin.
A Skin is a folder with CSS Style and a set of graphic files that determine the way the
control is going to look. A CSS Style consists of predefined classes. You use the
SkinFolder property to link the control with Skin.
The collection of ready-to-use skins is included in installer.
Each component has a default Skin to see the result immediately.
...
This example demonstrates how to insert a part of HTML file into your Web page. To extract the contents of specific element (the MainDataDIV in our example) we use the free HtmlAgilityPack library. Data is processed in the event-handling method for the DataBinding event.
|