LinkButton PostBack handler in custom control
Hi,
Pls I'm having a problem with dynamically created LinkButtons in
a WebControl.Actually I'm implementing a Tab control with multiple tabs and I'm using LinkButtons for the Tab headers... u get the picture.
So, when a LinkButton for a tab is clicked, its supposed to fire an event that will be handled by the tabcontainer to change the ActiveTabViewIndex i.e. to switch views to another tab.
Problem is the markup generated looks okay( the href=__doPostBack part), but for reasons I cannot explain, the event handler is not been called, both from the TabView control itself and the TabContainer.
Tried implementing IPostBackEventHandler, but did'nt help too.
Any help will be greatly appreciated.
Thanks,
Ozzy
|