on 10-23-2009 5:01 PM
Hi All,
I've created a tabstrip with 2 tabs. Now I want to place few input fields and labels in each tab. The "Add Element" for tabs is disabled when I right-click on tab. I tried adding a group but it cannot be placed under tab. Is it not possible to add elements under tabs? Do I have to take a different approach in order to do this. Please advise.
Thanks,
Siri
hi,
The approach followed for working with TABs is:
1. Have as many tabs as possible.
2. In each TAB , add ViewContainer . ViewContainer you would be able to add inside tab.
3. Now create as many views as you have created Tabs.
4. Embed views into the coreesponding ViewContainers.
Now add whatever UIs you want to add inside the views.
Ex.
->Tabstrip.
Tab1 Tab2. Tabn3.
->Inside each tab , add viewcontainers.
VC1 VC2 VC3.
->Create views.
V1 V2 V3.
->Embed views to viewcontainers.
Inside views V1 V2 V3 add UIs as per your requirement.
I hope i am clear.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
You dont have to drag and drop the views inside viewcontainer like this .
Go to windows -> Your main View containing all tabs.
Inside your main view , you will see various view containers.
Here drag your views into the viewcontainer.
Your Main View is the view having Tabstrips, All Tabs and only ViewContainers.
For putting ViewContainers inside Tab -> Right click on Tab -> Add Element -> Select ViewContainer from there.
I hope now it is clear.
Edited by: Saurav Mago on Oct 24, 2009 2:02 AM
Add element will be disabled only when there is a child element exists for the tab.
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.