I'm dynamically populating a RadPanelBar with a series of GroupElements and RadButtonElements. I'd like to know how I can add an onClick handler to each generated RadButtonElement so that I can get the dyncamically generated buttons to perform some function.
I've done similar code with Menu Items which allow an OnClick eventHandler as a parameter when you add items to the Menu;
|ReportMenu.MenuItems(f).MenuItems(g).Add("Report X"), New System.EventHandler(AddressOf openReport_Click)) |
Any ideas how I can get this all happening?