Occasionally download IEWebControl control, because TreeView is just one or two, because everyone has too many posts to discuss TreeView. But I will talk about how to use Toolbar controls, introduced here is also Toolbar Basic application.
Toolbar's application is mainly defined for ToolbarButton, ToolbarcheckButton, ToolbartextBox, ToolbardropDownList, and the like.
Below is my code for TOOBAR research, the main environment is VS.NET.
First install IEWebControl.
In the toolbox of VS.NET, add the Toolbar control. This allows you to set some properties of TOOBAR with VS.NET visualization.
About the code below for your reference:
1..ASPX file <% @ page language = "c #" codebehind = "Webform2.aspx.cs" autoeventwireup = "false" inherits = "Excel.webform2"%> <% @ register tagprefix = "ipc" namespace = "Microsoft .Web.UI.WebControls "Assembly =" Microsoft.Web.UI.WebControls, Version = 1.0.2.226, Culture = neutral, PublicKeyToken = 31bf3856ad364e35 "%>
/ Iewc: ToolbarButton>
iewc: ToolbarSeparator> iewc: ToolbarSeparator>
<% @ Page language = "c #" codebehind = "Webform2.aspx.cs" autoeventwireup = "false" inherits = "excel.webform2"%> <% @ page language = "c #" codebehind = "Webform2.aspx.cs" AutoEventWireup = "false" Inherits = "Excel.WebForm2"%> <% @ Register TagPrefix = "iewc" Namespace = "Microsoft.Web.UI.WebControls" Assembly = "Microsoft.Web.UI.WebControls, Version = 1.0.2.226 , Culture = neutral, publickeytoken = 31BF3856AD364E35 "%>