on 12-31-2007 11:40 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.