Intersoft Support Center

Configure Unbound WebTreeView

This walkthrough shows you how to bind WebTreeView to XmlDataSource control.

During this walkthrough, you will learn how to do the following:

  • Use XmlDataSource.
  • Bind WebTreeView.

 Prerequisites

In order to complete this walkthrough, you will need the following:

  • Xml file to be used as datasource for XmlDataSource.
  • Visual Studio 2005/2008/2010 Application.

 Step-By-Step Instructions

To create new web application and bind WebTreeView to XmlDataSource

  1. Launch Visual Studio.NET 2008.
  2. Click on File menu, then select New and click Web Site.
  3. Select ASP.NET Web Site in the Template box and set Location to HTTP.
  4. Named the Web Site and click OK.
  5. Right-click on Project's name and select Add New Item.
  6. Select Intersoft AppForm in the My Templates box and named it as Walkthrough.aspx.
  7. Drag WebTreeView instance from ToolBar to WebForm.
  8. Right click on WebTreeView instance and choose Properties to show Properties Window.



  9. In DataSourceID property, set which the XmlDataSource that you want to use (e.g XmlDataSource1).



  10. Click the Collection button in DataBindings property to show WebTreeView DataBindings Editor.
  11. Check the Auto-generate data binding checkbox.



  12. After that, add the data bindings where you want to set the TextField and ImageField properties.



  13. Press Apply and OK Buttons.
  14. Run the project.

Previous Next