Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Toolbar > Rad toolbar inside the rad Grid
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered Rad toolbar inside the rad Grid

Feed from this thread
  • waruni avatar

    Posted on Nov 24, 2009 (permalink)

    Hi

    I added rad toolbar inside the rad grid control CommadItemTemplate, and it has command buttons for insert,edit and delete.
    when click on any tool bar button it will call the "RadToolBar1_ButtonClick" event.
    but i want to call rad grid command events for when insert,edit, delete operations.

    how can i do this,
    please help me

    thanks
    Waruni

  • Posted on Nov 25, 2009 (permalink)

    Hello Waruni,

    You can set the CommandName for the ToolBarButtons which will in turn trigger the ItemCommand event of the grid. Checkout the following demo which illustrates a similar approach.
    RadGrid CommandItem

    Thanks,
    Princy.

  • Chris Tybur avatar

    Posted on Feb 3, 2010 (permalink)

    It seems the crucial part of the demo is the fact that a handler for the toolbar's ButtonClick event must be present in the code-behind file, even if nothing is in it. Without it the grid command events never fire, even if you have the correct command name attributes. I suspect the event bubbling is skipped if the handler isn't there.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Toolbar > Rad toolbar inside the rad Grid