KT.UI Navigation Controls for ASP.NET AJAX are extremely easy to use and simple to configure. If you want to set navigation skin, you can customize the navigation appearance objects by adding custom images, using CSS classes, or creating custom skins. However, if you want to embed other HTML controls, such as HTML markup, ASP.NET server controls as well as other third-party controls, you must use NavigationBar templates.
To be specific, at design time, NavigationBar components support three basic types of item templates: HeaderTemplate, ItemTemplate, and ContentTemplate.
Here, we list the quick navigation of NavigationBar templates in this tutorial page:
What Is HeaderTemplate of Navgiation Control
For HeaderTemplate, the content appears in the navigation item immediately in the header. What Is ItemTemplate of Navgiation Control
For ItemTemplat, the content appears in the navigation item immediately below its text. The item cannot be merged nor expanded. Users should know that if the item does not have any text, then the contents of the Item Template become the item itself.
We offer two types of Item Templates: global NavigationBar template that can affect the appearance of all items and individual item templates that can affect the appearance of a single navigation item. What Is ContentTemplate of Navgiation Library
As to ContentTemplate, the content renders as a sub-group of the target navigation item. Unlike ItemTemplate, the item can be expanded and collapsed as if it had sub navigation items. Also, if the item does not have any text content, the contents of the Content Template will become the item itself and cannot be expanded/collapsed. If you have the global template and content template on some item at the same time, the content template will be used with preference. How to Set HeaderTemplate for ASP.NET AJAX
Users can refer to following demo ASPX codes to access the control for HeaderTemplate, ItemTemplate and ContentTemplate of a NavigationBar control.
| ![]() ASP.NET AJAX UI Controls ASP.NET AJAX Chart UI Control ASP.NET AJAX Grid UI Control ASP.NET AJAX Barcode UI Control ASP.NET AJAX Button UI Control ASP.NET AJAX Calendar UI Control ASP.NET AJAX NavigationBar UI Control OverviewGetting StartedElementsTemplates FeaturesData Binding ObjectDataSource DataDatabase DataXML DataClient Prpgramming Item EventServer Programming Item EventASP.NET AJAX Captcha UI Control ASP.NET AJAX Color Editor UI Control ASP.NET AJAX ComboBox UI Control ASP.NET AJAX DataPager UI Control ASP.NET AJAX Dock UI Control ASP.NET AJAX DropDownList UI Control ASP.NET AJAX DropDownTree UI Control ASP.NET AJAX HtmlEditor UI Control ASP.NET AJAX FileManager UI Control ASP.NET AJAX Filter UI Control ASP.NET AJAX Input UI Control ASP.NET AJAX ListBox UI Control ASP.NET AJAX ListView UI Control ASP.NET AJAX ToolBar UI Control ASP.NET AJAX TabControl UI Control ASP.NET AJAX Menu UI Control ASP.NET AJAX ToolTip UI Control |