Welcome Guest Search | Active Topics | Sign In | Register

Triggering click on tab on gridview select command Options
Krishna Sastry
Posted: Wednesday, January 19, 2011 1:39:36 PM
Rank: Newbie
Groups: Member

Joined: 12/20/2010
Posts: 4
I have a tab strip object with two tabs - Ticket list and Ticket Details.

When on the ticket list tab a gridview lists all the tickets. Each row has a select command that when clicked on I would like to display full details about the ticket in the Ticket Details tab.

I have a script that populates all the details in a form on the Ticket details tab within a pageview control.

The issue I am having is the control does not become visible unless I click on the Ticket Details tab. How can I simulate clicking on another tab control?

Thanks,
KS
eo_support
Posted: Wednesday, January 19, 2011 1:43:22 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You can do it both on the client side or on the server side. If you do it on the server side, you would simply set the TabStrip's SelectedIndex (in your case, set it to 1 to switch to the second tab). If you do it on the client side, you would call the client side TabStrip object's setSelectedIndex method. You can find samples for both cases here:

http://demo.essentialobjects.com/Demos/TabStrip%20and%20MultiPage/Programming/Switch%20Page%20or%20Tab%20(Server%20Side)/Demo.aspx

And here:

http://demo.essentialobjects.com/Demos/TabStrip%20and%20MultiPage/Programming/Switch%20Page%20or%20Tab%20(Client%20Side)/Demo.aspx

Thanks!
Krishna Sastry
Posted: Wednesday, January 19, 2011 1:47:50 PM
Rank: Newbie
Groups: Member

Joined: 12/20/2010
Posts: 4
Thanks a lot for the prompt response....I used the sever side option.

KS


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.