New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

ApplicationMenuItemClick

The server-side ApplicationMenuItemClick event occurs when the user clicks on application menu item, causing a postback.

The event handler function receives two arguments:

  1. The RadRibbonBar which has fired the event. This argument is of type object, but can be cast to the RadRibbonBar type.

  2. An EventArgs object. This object has an Item property, which provides access to the item that has just been clicked.

The following example shows how to get the text of the clicked item:

C#
	
protected void RadRibbonBar1_ApplicationMenuItemClick(object sender, RibbonBarApplicationMenuItemClickEventArgs e)
{
    string message = string.Format("Application menu item {0} was clicked.", e.Item.Text);

    textBox1.Text = message;
}
	

See Also

In this article
See Also
Not finding the help you need?
Contact Support