cancel
Showing results for 
Search instead for 
Did you mean: 

Add Elements to Tabstrip

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

Saurav,

I had already tried placing a ViewContainer inside each tab. When I drag-and-drop it onto Tabs, I see a message "Drag& drop operation is not supported for this target element".

Former Member
0 Kudos

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

Answers (1)

Answers (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Add element will be disabled only when there is a child element exists for the tab.

Abhi