OnClientLoad | RadRibbonBar for ASP.NET AJAX Documentation
Edit this page


The OnClientLoad client-side event occurs when the RadRibbonBar is first loaded and fully initialized on the client. The event handler receives a single parameter: the instance of the ribbonbar firing the event.

function OnClientLoad(sender, args) {

    var ribbonbar = $find("RadRibbonBar1");
    var tab0 = ribbonbar.get_tabs().getTab(0);
    var group0 = tab0.get_groups().getGroup(0);
    var item0 = group0.get_items().getItem(0);
    //returns the text of the first button in the first group of the first tab


See Also

Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article