Showing posts with label doubts. Show all posts
Showing posts with label doubts. Show all posts

Wednesday, March 28, 2012

Tab Container doubts

Hi,

I have two questions regarding the Tab Container Control:

1) How can I get the current Tab in the code behind ?

2) if I have five tabpanels, with one grid view on each one and I want to use the updatepanel.

should I create one updatepanel and place all the tabpanels on it, or create one updatepanel for each tabpanel ?

Thanks !

I haven't tried your Tab / Update Panel combinations, but getting the current TabIndex in your server code is easy.

Dim TabNoAsInteger

TabNo = TabContainer1.ActiveTabIndex

Remember Active.TabIndex is Zero based so if you have 4 tabes and the last one is selected, the active index will be "3"


Hi,

Personally, I'd place different UpdatePanel for each tab. Haven't done this ever too, you may have a try and know if it works.


The Tab / Update panel combination worked smothly by using a diferent updatepanel for each tabpanel, like Raymond suggested.

If you want, you can use an update progress like this:

<asp:UpdateProgressID="UpdateProgress1"runat="server"AssociatedUpdatePanelID="Tabs$Panel1$upd1">

Thanks Joe and Raymond,

Skynyrd

Monday, March 26, 2012

Tab Control (Doubts)

Hi Everybody...

I have a two questions:

1 - How do it does a Tab Control of the a Tab Container (Ajax Control Toolkit) to load the content, when it will only called (clicked) ? Because i have some data-sources in my page, and this leaves the slow page! (Sample: The tab Related or Preview, this forum!)

2 - How do I do a window pop-up (with drag and drop), equal the window of Contact (Send Email) this forum ??? to do the window not to leave the area of the navigator outside.

Thank all!

Felipe Oriani:

up


If you look at the thread titled "TabContainer and ActiveTabChanged" it'll tell you how to go about this