Click or drag to resize
KaxToolBarSplitButtonNavigateUrl Property
Gets or sets the URL to link to when the button is clicked.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public string NavigateUrl { get; set; }

Property Value

Type: String
The URL to link to when the button is clicked. The default value is empty string.

Implements

IKaxToolBarButtonNavigateUrl
Remarks
Use the NavigateUrl property to specify the URL to link to when the button is clicked. Use "~" (tilde) in front of an URL within the same ASP.NET application. When specifying external URL do not forget the protocol (e.g. "http://").
Examples
The following example demonstrates how to use the NavigateUrl property

<kettic:KaxToolBar id="KaxToolBar1" runat="server">
<Items>
<kettic:KaxToolBarSplitButton Text="News" NavigateUrl="~/News.aspx" ImageUrl="~/Img/News.gif"> <Buttons>
<kettic:KaxToolBarButton Text="Button1" /> </Buttons>
</kettic:KaxToolBarSplitButton>/
<kettic:KaxToolBarButton Text="News" NavigateUrl="~/News.aspx" />
<kettic:KaxToolBarButton Text="External URL" NavigateUrl="http://www.example.com" />
</Items>
</kettic:KaxToolBar>

See Also