RadBreadcrumb
Server-side Breadcrumb navigation control representing the current page path and providing optional editing and navigation. Configure appearance and behavior through its public properties (e.g. Items, Value, Navigational) and handle client events via ClientEvents.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[ToolboxBitmap(typeof(RadBreadcrumb), "Toolbox.Icons.Breadcrumb.png")]
[RequiredScript(typeof(jQueryPlugins))]
[RequiredScript(typeof(Html5Breadcrumb))]
[ClientScriptResource("Telerik.Web.UI.RadBreadcrumb", "Telerik.Web.UI.Breadcrumb.Scripts.RadBreadcrumb.js")]
[EmbeddedSkin("Breadcrumb", typeof(RadBreadcrumb))]
[EmbeddedSkin("Breadcrumb", "Default", typeof(RadBreadcrumb))]
[RequiredCss("Telerik.Web.UI.Skins.Common.common.css", RenderMode.Classic, typeof(RadBreadcrumb))]
[RequiredCss("Telerik.Web.UI.Skins.Common.common.css", RenderMode.Lightweight, typeof(RadBreadcrumb))]
[RequiredCss("Telerik.Web.UI.Skins.Common.common.css", RenderMode.Mobile, typeof(RadBreadcrumb))]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Classic, typeof(RadBreadcrumb))]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Lightweight, typeof(RadBreadcrumb))]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Mobile, typeof(RadBreadcrumb))]
public class RadBreadcrumb : RadWebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl
Inheritance: objectControlWebControlRadWebControlRadBreadcrumb
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadBreadcrumb control and registers required JavaScript converters.
public RadBreadcrumb()
Properties
Indicates whether the Breadcrumb will enable/disable the binding to the location object of the browser on initialization.
public bool BindToLocation { get; set; }
Defines the client events handlers.
[PersistenceMode(PersistenceMode.InnerProperty)]
public BreadcrumbClientEvents ClientEvents { get; }
The template used to render the items in the breadcrumb.
[Browsable(true)]
[Bindable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public string ClientItemTemplate { get; set; }
The CssClass property will now be used instead of the former Skin and will be modified in AddAttributesToRender()
protected override string CssClassFormatString { get; }
Overrides:
Defines a name of an existing icon in the Kendo UI Web Font Icons. The icon will be applied as separator between the segments of the Breadcrumb path.
public string DelimiterIcon { get; set; }
Indicates whether the editing functionality of the Breadcrumb will be enabled/disabled.If the option is enabled the path will be editable. Clicking in an empty area of the component will trigger editing mode. Editing mode shows an input showing the value of the component enabling the end user to type a new path.
public bool Editable { get; set; }
Defines the space in pixels after the last item to stay empty.The gap value is taken into account when items overflow and continues to remain empty.
public double Gap { get; set; }
Array of items to be rendered in Breadcrumb.
[PersistenceMode(PersistenceMode.InnerProperty)]
public BreadcrumbItemsCollection Items { get; }
Defines the text of the root icon title that is displayed within the Breadcrumb.
[PersistenceMode(PersistenceMode.InnerProperty)]
public Messages MessagesSettings { get; }
Indicates whether the navigation functionality of the Breadcrumb will be enabled/disabled.When navigational is set to false, automatic navigation (changing url location) is disabled by default. In this state, the click event will be prevented and navigation will occur only if programmatic navigation is implemented.When navigational is set to true, the url (path) will be automatically added to the href attribute of the rendered links. In this state, the click event will trigger navigation.
public bool Navigational { get; set; }
Defines a name of an existing icon in the Kendo UI Web Font Icons. The icon will be applied as the first item(root) of Breadcrumb path.The root icon is clickable and resets the value of the component.
public string RootIcon { get; set; }
protected override HtmlTextWriterTag TagKey { get; }
Overrides:
Methods
protected override void DescribeClientEvents(IScriptDescriptor descriptor)
Overrides:
protected override void DescribeComponent(IScriptDescriptor descriptor)
Overrides:
protected override void TrackViewState()
Overrides: