- Online Barcode Generator
- How To
- Buy Now
Information to Server-side Event
The PerNavigationBar control offers some server-side properties for each navigation item, using which you can easily control the item state and change the visualization of the entire navigation bar. And in this online tutorial, we will mainly illustrate three server-side events that are often used in customizing the settings of the navigation bar items.
Three Major Server-side Events
In this section, we will briefly introduce three server-side events that the PerNavigationBar control has provided, which are ItemClick, ItemCreated and ItemDataBound. Using these server-side events, you can let the navigation bar to respond in the code-behind when the users make a change on the navigation bar.
Programming Examples for Item Server-side Events
In this part, we will offer you the sample programming code which aims to guide you how to use above three item server side events handlers in ASP.NET web application. If you have any problem in initiating these server side event handlers, please feel free to contact us.
<kettic:PerNavigationBar runat="server" ID="PerNavigationBar1" Height="300" OnItemClick="PerNavigationBar1_ItemClick">
protected void PerNavigationBar1_ItemClick(object sender, Kettic.ASPX.Controls.PerNavigationBarEventArgs e)
Apart from these item server side events, the PerNavigationBar control also offers client side events for users to fully customize the creation of navigation bar in web application. To view more, please read this Navigation Bar Client Side Programming Tutorial.
ASP.NET AJAX UI Controls