Intersoft Support Center

Create Custom Content

WebToolBar provides a template to use custom content.

This topic will show you how to create custom content.

To create custom content

  1. Right click WebToolBar control and choose Properties.
  2. Go to Commands and click the collection button.
  3. Add one ToolCommand and set Type to Custom.
  4. Right click on WebToolBar and select Edit Template >> ToolCommand Items.
  5. Drag a standard ASP.NET Dropdownlist and a TextBox control.
  6. Configure the following value in CommandTemplate:
       <asp:DropDownList ID="DropDownList1" runat="server" CssClass="text">
          <asp:ListItem>(Select a Product)</asp:ListItem>
       <asp:TextBox ID="TextBox1" runat="server" CssClass="text">(Search)</asp:TextBox>
  7. Run the project.
Previous Next