Rank: Newbie Groups: Member
Joined: 6/5/2007 Posts: 4
|
Hi.
I am working on an asp.net 2.0 web application using C#. I have a simple page on which I've added the tabstrip control (v2007.1.12) with 4 tabs (each tab has a different location to which it should direct the user (NavigateUrl).
I am unable to get the tabstrip to post back to the server when a tab item is clicked. I have read the forums and the online docs but must be missing something.
I have set RaisesServerEvent to True on both the tabstrip object and all of the individual tabs. I have created the ItemClick event handler and added code (with a breakpoint).
Basically, I need to do some server side processing when a tab is clicked, PRIOR to navigating to the next page. But, it seems as if the tab strip is not posting back to the server but rather is redirecting via a client side call.
Have I missed a step in order to get the tabstrip to post back to the server?
thanks!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
hi, Steve Thank you for posting you question here. Please see this link: http://www.essentialobjects.com/Forum/Default.aspx?g=posts&t=160The NavigateUrl property will override the ItemClick event. So, you can not set both. For your instance, you need to use Redirect() to other URL in your ItemClick event handler. Thanks.
|