<%@ Page language="c#" AutoEventWireup="false" %>
<%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls" %>
<HTML>
	<HEAD>
		<title>Toolbar控件示例</title>
		<script language="C#" runat="server">
			void Toolbar1_ButtonClick(object sender, System.EventArgs e)
			{
				Response.Redirect(((ToolbarTextBox)Toolbar1.Items[2]).Text);
			}
		</script>
	</HEAD>
	<body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0">
		<form id="Form1" method="post" runat="server">
			<iewc:toolbar id="Toolbar1" runat="server" OnButtonClick="Toolbar1_ButtonClick">
				<iewc:ToolbarSeparator></iewc:ToolbarSeparator>
				<iewc:ToolbarLabel ToolTip="快捷键(D)" Text="地址(D)："></iewc:ToolbarLabel>
				<iewc:ToolbarTextBox AccessKey="d" MaxLength="100" ToolTip="请输入网络地址(快捷键D)" Columns="30" Text="http://"></iewc:ToolbarTextBox>
				<iewc:ToolbarButton Text="GO" ImageUrl="home.gif"></iewc:ToolbarButton>
				<iewc:ToolbarSeparator></iewc:ToolbarSeparator>
			</iewc:toolbar>
		</form>
	</body>
</HTML>
