Skip to main content

ASPxClientRibbon.FileTabClicked Event

Occurs when the file tab is clicked.


FileTabClicked: ASPxClientEvent<ASPxClientEventHandler<ASPxClientRibbon>>

Event Data

The FileTabClicked event's data class is ASPxClientEventArgs.


Write the FileTabClicked event handler to perform custom actions when the file tab has been clicked.


This example demonstrates how to use the FileTabClicked event to show a popup menu.

The image below shows the result.

FileTabClicked img

<dx:ASPxRibbon ID="ASPxRibbon1" runat="server">
     <ClientSideEvents FileTabClicked="function(s, e) {
     }" />

<dx:ASPxPopupMenu ID="ASPxPopupMenu1" runat="server" ClientInstanceName="popupMenu" PopupVerticalOffset="24">
          <dx:MenuItem Text="New" ...>
               <Image IconID="actions_new_16x16">
          <dx:MenuItem Text="Open" ...>
               <Image IconID="actions_loadfrom_16x16">
          <dx:MenuItem Text="Close" ...>
               <Image IconID="actions_close_16x16">
See Also