Click or drag to resize
KaxToolBarItemImageUrl Property
Gets or sets the path to an image to display for the item.

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

Property Value

Type: String
The path to the image to display for the item. The default value is empty string.
Remarks
Use the ImageUrl property to specify the image for the item. If the ImageUrl property is set to empty string no image will be rendered. Use "~" (tilde) when referring to images within the current ASP.NET application.
Examples

The following example demonstrates how to specify the image to display for a button using the ImageUrl property.

<kettic:KaxToolBar id="KaxToolBar1" runat="server">
<Items>
<kettic:KaxToolBarButton ImageUrl="~/Img/inbox.gif" Text="Index" />
<kettic:KaxToolBarButton ImageUrl="~/Img/outbox.gif" Text="Outbox" />
</Items>
</kettic:KaxToolBar>

See Also