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
|
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.aspxAnd here: http://demo.essentialobjects.com/Demos/TabStrip%20and%20MultiPage/Programming/Switch%20Page%20or%20Tab%20(Client%20Side)/Demo.aspxThanks!
|
Rank: Newbie Groups: Member
Joined: 12/20/2010 Posts: 4
|
Thanks a lot for the prompt response....I used the sever side option.
KS
|