I have a user control, say MyControl.ascx that includes on it a PanelBar.
I want the developer to be able to assign an event handler for the PanelBar's ItemDataBound event.
ATM, they are having to do this programmatically saying something like this...
I'd like 'em to be able to do it declaritively....
Is this even possible?
--
Stuart
I want the developer to be able to assign an event handler for the PanelBar's ItemDataBound event.
ATM, they are having to do this programmatically saying something like this...
protected void Page_Load(object sender, EventArgs e) |
{ |
// Load the control, then |
MyControl.PanelBar.ItemDataBound += ... |
} |
<uc1:MyControl runat="server" ID="MyControl" OnPanelBarItemDataBound="..." /> |
--
Stuart