Welcome Guest Search | Active Topics | Sign In | Register

Can't get tabstrip to post back to server Options
Steve Bowers
Posted: Thursday, July 5, 2007 11:57:45 AM
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!
eo_support
Posted: Thursday, July 5, 2007 8:28:10 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
hi, Steve

Thank you for posting you question here.
Please see this link:
http://www.essentialobjects.com/Forum/Default.aspx?g=posts&t=160
The 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.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.