Wrox Programmer Forums
|
BOOK: Professional ASP.NET 2.0 Server Control and Component Development ISBN: 978-0-471-79350-2
This is the forum to discuss the Wrox book Professional ASP.NET 2.0 Server Control and Component Development by Dr. Shahram Khosravi; ISBN: 9780471793502
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 2.0 Server Control and Component Development ISBN: 978-0-471-79350-2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 24th, 2008, 07:55 AM
Registered User
 
Join Date: Jul 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Ozzy Bongo
Default 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






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create and configure a custom handler pbhupal VS.NET 2002/2003 0 March 16th, 2005 08:18 PM
linkbutton and postback jtyson ASP.NET 1.0 and 1.1 Professional 1 July 14th, 2003 06:37 PM
linkbutton and postback jtyson ASP.NET 1.x and 2.0 Application Design 0 July 10th, 2003 12:17 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.