cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with TabStrip

Former Member
0 Kudos

Hi,

I have two tabs in my tabstrip. "Edit" & "Display" respectively. And I have one button in my Edit tab. When i click on the button the next tab("Display") should display. im doing this dynamically. so pls help me with the code. or else give me some idea.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Amit,

1) Create a Context Attribute "TabStripSelected" of type String

2) Bind "TabStripSelected" to the SelectedTab property of TabStripUIElement

2)a) Name the Tab1's id property as "Edit" it accepts only String

2)b) Name the Tab2's id property as "Display"

3) Create a Button

4)onActionClick of that button add the following line of code.

wdContext.currentContextElement().setTabStripSelected("Display");

Regards, Suresh KB

Answers (0)