Tracking Forums, Newsgroups, Maling Lists
Home Submit Tracker Forums
  Advanced Search


AJAX :: Case Of The Disappearing TabContainer?

I have a tabcontainer with three panels. Initially the second tab is not enabled. I have a button in the first panel which when clicked, enables the second tab and changes the focus to it via the code-behind (requires a post back but that is desirable, since I shall put business logic there).

Works perfectly well.. but if I repeatedly keep clicking the next and the disable buttons.. once in a while the entire page disappears.. i.e I get a blank browser screen (IE6 and Chrome) and in FF the second tab doesn't become disabled at all.

Code for the default.aspx


The Code Behind


View 1 Replies (Posted: Mar 17, 2010 02:07 AM)

Sponsored Links:

Related Forum Messages For ASP.NET category:
AJAX :: TabContainer Body Border Doesn't Work For Hidden Div Inside Tabcontainer
I use a border for the TabContainer body which works fine.


also I use three hidden divs and one visible div inside a main div which works as body of Tabcontainer

Posted: Dec 17, 2010 07:57 AM

View 1 Replies!   View Related
AJAX :: Hiding First TabPanel Of TabContainer Hides The TabContainer?
I'm using Version 3.0.30930.0 of the Ajax Toolkit.

If I hide the first TabPanel of a TabContainer; the entire TabContainer is hidden!

Submitted as issue: [URL]


Posted: Nov 20, 2009 01:49 PM

View 7 Replies!   View Related
AJAX :: Prevent The Pop Up Window From Disappearing?
I have a GridView (insde a UpdatePanel with a Timer control) which is refreshed every 3 seconds and one of its fields (a TextBox) is "linked" to a HoverMenuExtender. It works great to display the Multline Textbox results but when the next refresh timer intervalcomes the TextBox control is re-populated with the new data and the user does not have the time to read its content.I am not sure if there is a way to maintain the content after each refresh (as long as I don't move the mouse of course).ere is part of my code:


Posted: Oct 25, 2010 09:00 PM

View 6 Replies!   View Related
Root Path With Tilde - Doesn't Change Upper Case To Lower Case
I have my project set up with the virtual path "/MyVirtualPath", create the virtual directory in IIS 6 (W2003) and everything works fine. Then to work better with Google Analytics I change the virtual path "/myvirtualpath" and change all redicecciones and links to lowercase. also applies the class "lowercase route urls in aspnet mvc" and works perfectly.

The problem I had to modify the virtual directory in IIS, delete virtual path "/MyVirtualPath" and I created the new "/myvirtualpath", but in all cases I use tilde "~" or where I make a "RedirecToAction" (which should take "LowercaseRoute"), continues to maintain the virtual path "/MyVirtualPath". For example, if I see the HTML source code in the browser, see "/MyVirtualPath/Content/Site.css" instead of "/myvirtualpath/Content/Site.css. "

Posted: Dec 30 10 at 13:41

View 1 Replies!   View Related
HttpHandlers / Modules :: QueryString Recieved In Lower Case Instead Of Mixed Case?
QueryString recieved in lower case instead of mixed case?,

Posted: Jul 29, 2009 03:10 PM

View 7 Replies!   View Related
Web Forms :: Gridviews Disappearing When Enlarging Ajax TabPanel?
I have a small tabcontainer at the footer of my page with a gridview in several tabs - this works fine. Customer has asked for a re-design and for the tabcontainer to cover the entire page. When I increase the size of the tabcontainer (say to 550px) the gridviewsdisappear!

Noticed a few things;

- If i move the gridview before or after the tab container it is displayed

- There is definatly data in the gridview

- Controls on another tab work fine (these are the ones that were previously covering the rest of the page)

Posted: Mar 10, 2010 06:21 PM

View 1 Replies!   View Related
VS 2008 Ajax Control Toolkit Disappearing From Toolbox
I am using Visual Web Developer 2008 with VB. I have successfully used the Ajax Control Toolkit and have experimented with the sample web site that it comes with. The issue I have is that every time I load VWD, the toolkit tab I added to my toolbox is no longer there and I need to go and re create it and re browse to the dll. Has anyone else had this problem?

Posted: Oct 27th, 2009, 02:26 PM

View 3 Replies!   View Related
AJAX :: Prevent ModalPopup From Disappearing After Wrong Login?
I put loginView control insideModalPopupExtender, the problem is: when I try to login with wrong user/password and press thelogin button, this button cause a postback and then the page reloads and ModalPopup dissapears, only when I press the button wich cause ModalPopup to show itself, I see the loginview control with the message "username or password is wrong"

What canI do to prevent ModalPopup from disappearing after wrong login?

Posted: May 06, 2010 08:03 PM

View 3 Replies!   View Related
AJAX :: How To Set Tabcontainer ( Ajax Tool) Width Size According To Users Desktop Screen Resolution
I am a newbie in web development I came from win form environment. how to set tabcontainer (ASP.Net Ajax Tool) width size according to users desktop screen resolution?

(setup and tools)

visual studio 3.5 sp1


Posted: Mar 25, 2010 03:36 AM

View 1 Replies!   View Related
AJAX :: How To Lazy Loading Using Ajax Toolkit TabContainer Control
At present we are using <ajax:TabContainer> to load tabs. I have 5 user controls inside <ajax:TabPanel>.

The problem is that all the data on these 5 pages gets loaded at once and increases the loading time as well as it is very hard to debug. Can we do lazy loading uisng TabContainer control? so that only the data of the current tab is loaded and when we click on the other tab then that's control data gets loaded.

Posted: Jul 22, 2010 04:00 AM

View 7 Replies!   View Related
Can A Tabcontainer Inherit The Style Of The 'parent' Tabcontainer
I have a tabcontainer with its own CssClass, and it looks good. I added another TabBontainer inside a tabpanel of this "parent" TabContainer, also with its own CssClass, but apparently it's inheriting some of the properties of the 'parent' TabContainer. They're both separate controls (ie. one is not inheriting from the other).

Is this possible? How can I separate these two? If I separate them, they look good. This only happens when the tabcontainer is within a tabpanel of another tabcontainer.

Posted: Nov 01, 2009 11:57 PM

View 1 Replies!   View Related
AJAX :: TabContainer RTL?
m kinda new in ,i'm try to do a web form with 3 tabs but i want that the tabs will start from the right end of the screen and not from the left?is there a way to do it?i searched the properties list for such a thing , and i didn't fine it.

Posted: Dec 03, 2010 05:54 PM

View 1 Replies!   View Related
AJAX :: Wizard In Update Panel - When Click Any Button The Wizard Disappearing
I am trying to use wizard in an update panel but the wizard is disappearing when I click for the next or prev step button. I only want to close wizard , when I click the finish button. How can I do this ?

Posted: Jul 14, 2010 08:02 AM

View 1 Replies!   View Related
Looking For An Ajax Tabcontainer Tool?
i need an ajax tabcontainer tool for 2.0??

Posted: Sep 24, 2009 02:54 AM

View 2 Replies!   View Related
AJAX :: How To Rebuild The Tabcontainer
I created dynamic the tabpanel of tabcontainer, and the tabpanels change depended on the item which chooses from dropdownlist but the problem is tabcontainer keeping the last tabpanel and create another tabpanel and I couldn't remove them how I can rebulid the tabconatiner each postback

Posted: Mar 29, 2010 10:25 AM

View 2 Replies!   View Related
AJAX :: How To Get Vertical Tab Using Tabcontainer
how to get vertical tab using tabcontainer in ajax controls.

Posted: Feb 05, 2010 05:19 AM

View 2 Replies!   View Related
C# - TabContainer In The AJAX Toolkit
Having a strange issue with the TabContainer in the AJAX Toolkit. We have several views into a customer record system that we have built as controls. These controls use UpdatePanels to load data asynchronously. We use jQuery and jquery.ui to place these controls in separate tabs on a single page. Which all works swimmingly. Lately, I've gotten a little tired of the jQuery tab hackish approach and decided to port everything to use the TabContainer. I want to be able to control the tabs as objects.

At first glance, everything works perfectly. I just slapped the controls into tabs in a TabContainer and everything looked great. However, for some reason, databound controls are losing their data. For instance, grid views vanish when I switch pages. A drop down control with an OnTextChanged event, loses its databound list of values upon post back. Something about the TabContainer -> Custom Control -> UpdatePanel -> Control that uses data binding heirarchy is throwing it out of whack and the debugger isn't shedding any light. It seems like control state isn't being stored. I don't really know enough about control state to know what to look for. Here is the markup for the TabContainer:

<asp:TabContainer ID="tcBanner" runat="server" ActiveTabIndex="0" Width="100%"
EnableViewState="False" ScrollBars="Vertical">
<asp:TabPanel runat="server" HeaderText="Comments" ID="tbComments">
<luBannerControl:Comments ID="commentsTabContent" runat="server" />
<asp:TabPanel runat="server" HeaderText="General" ID="tbContact">
<luBannerControl:Contact ID="contactTabContent" runat="server" />
Here is the markup for one of the controls:
<asp:UpdatePanel ID="pnlComments" UpdateMode="Conditional" runat="server">
<asp:GridView ID="CommentsGridView" AllowPaging="true" PageSize="20" DataSourceID="BannerSqlDataSource" runat="server" AutoGenerateColumns="False" GridLines="None" CssClass="CommentGrid" HeaderStyle-CssClass="CommentGridHeader" RowStyle-CssClass="CommentRowsEven" AlternatingRowStyle-CssClass="CommentRowsOdd">
<asp:BoundField DataField="SPRCMNT_TEXT" HeaderText="Comment" SortExpression="SPRCMNT_TEXT" />
<asp:BoundField DataField="SPRCMNT_DATE" HeaderText="Created" SortExpression="SPRCMNT_DATE" DataFormatString="{0:M/dd/yyyy}" />
<asp:BoundField DataField="SPRCMNT_CMTT_CODE" HeaderText="Type" SortExpression="SPRCMNT_CMTT_CODE" />
<asp:BoundField DataField="SPRCMNT_CTYP_CODE" HeaderText="Source" SortExpression="SPRCMNT_CTYP_CODE" />
<asp:BoundField DataField="sprcmnt_user_id" HeaderText="User" SortExpression="sprcmnt_user_id" />
<asp:AsyncPostBackTrigger ControlID="txtSearch" EventName="TextChanged" />
<asp:AsyncPostBackTrigger ControlID="btnClearFilter" EventName="Click" />

Posted: Sep 20 10 at 20:09

View 1 Replies!   View Related
AJAX :: Close A Tab In TabContainer?
I want to add a close button on each tab,just like the firefox.

It seams that Ajax Control Toolkit doesn't provide any method to close the tab.

I have try to use the .Remove() function,but it doesn't delete the just make it invisible and work correctly only once....

Could any give the code in C#..

Posted: Aug 19, 2010 08:08 AM

View 2 Replies!   View Related
AJAX :: TabContainer, Use It Dynamically?


Posted: May 14, 2010 02:08 PM

View 3 Replies!   View Related
AJAX :: TabContainer And VideoPlayer?
I am making a TabContainer with several TabPanel. In one the TabPanel I have a video player. When I start the video and switch to an another TabPanel, the video stops.

How can I do to make the video continue to play when I switch to an another TabPanel ?

Posted: Feb 17, 2011 09:46 AM

View 1 Replies!   View Related
AJAX :: TabContainer Not Showing?
I've been introduced to Ajax at work, and wanted to play around with it at home. However, after adding the Ajax stuff to Visual Web Developer, I cannot get the Tab stuff to work.I used the following code in my Default.aspx page:


With this, the page is just blank. Looking at the source, I can see it's in there, but nothing's rendered...So - just to test if Ajax was working at all - I added a dropdown, which worked fine.

Posted: Dec 08, 2009 08:34 PM

View 4 Replies!   View Related
AJAX :: TabContainer And ShowModalDialog?
problem when I'm using tab container along with the gridview inside. In the grid column, there is an image button for editing, but the editing will be run in a modal dialog. I make it with gridview's onrowcommand and call a javascript from the code behind. If I make without that layout (ie. no tab, just a gridview), the modal dialog successfully appeared in browser. But if I make with the layout I mentioned before (gridview in tab), the modal dialog did appear but the gridview and tab gone (so there will be no tab and gridview seen with our eyes). The tab and gridview will be appeared again after I close the modal dialog. Both tab and gridview I placed inside an update panel.

Posted: Dec 19, 2008 08:41 AM

View 3 Replies!   View Related
Dynamic Select Case - Loop Inside Select Case
here's my case. I request a query from url and based on that query the proper template opens inside existed page. I was thinking dynamicly create Select Case. Something like this:


Posted: Feb 28, 2009 06:58 PM

View 1 Replies!   View Related
Use Ajax RoundedCornersExtender Control With TabContainer?
Can we use Ajax RoundedCornersExtender control with AJax,tabContainer?

Posted: Dec 24 09

View 3 Replies!   View Related
AJAX :: TabContainer Active Tab Using JavaScript?
I'm using the TabContainer and a bit of client-side code to store the active tab, so that when the user clicks on a command link in a gridview, for eample, 'Delete', they return to the current active tab. The gridview is inside an updatePanel. The client-side code looks like this:


This sequence of eventsworks fine:

Click a tab

Posted: Aug 02, 2008 09:20 AM

View 3 Replies!   View Related
AJAX :: Floating Divs In TabContainer
I am havinga problem floating div's inside the AJAX TabContainer. The content I place inside the TabPanel is jumpingoutside the border. Here is the code:

<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="EquipmentDetails.aspx.cs" Inherits="DocumentSandbox.Web.WebForm4" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
<asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0">
<asp:TabPanel runat="server" HeaderText="TabPanel1" ID="TabPanel1">
<asp:TextBox ID="txtID" runat="server" CssClass="criteriatextbox"></asp:TextBox></div></div>
<div><div>Phone Number:</div><div>
<asp:TextBox ID="txtPhoneNumber" runat="server" CssClass="criteriatextbox"></asp:TextBox></div></div>
<asp:TextBox ID="txtAddress" runat="server" CssClass="criteriatextbox"></asp:TextBox></div></div>
<div><div>Last Name:</div><div>
<asp:TextBox ID="txtLastName" runat="server" CssClass="criteriatextbox"></asp:TextBox></div></div>
<div><div>First Name:</div><div>
<asp:TextBox ID="txtFirstName" runat="server" CssClass="criteriatextbox"></asp:TextBox></div></div>
<div><div>Middle Name:</div><div>
<asp:TextBox ID="txtMiddleName" runat="server" CssClass="criteriatextbox"></asp:TextBox></div></div>
<asp:TabPanel ID="TabPanel2" runat="server" HeaderText="TabPanel2">

Here isthe css for this code segment:

clear: both;
padding-top: 3px;
padding-right: 6px;

I found a possible solution here: [URL], butI'm hopingfor another option before I giveup on having a border.

Posted: Nov 21, 2010 01:22 PM

View 3 Replies!   View Related
AJAX :: TabContainer Sys.ArgumentUndefinedExcpetion - Value Cannot Be Undefined
I have seenpostsdiscussing this error however,no post has identified a solutionto addressthe issue I am having, so here it goes.

I am using Micosoft Visual Studio 2008

.NET Framework 3.5 SP1

AjaxControlTookkit 3.5.40412.0

Step 1: I create a new, ASP.NET Web Application.

Step 2: Add a 'New Item' from the templates called 'AJAX Web Form'.

Step 3: In Source viewgo to the Toolbox and drug a 'TabContainer' directly below the ScriptManager tag.

Step 4: Switch to Design view and click 'Add New Tab' on the TabContainer control.

Step 5: Switch back to Source view and add a ContentTemplate open and close tag within the TabPanel tags.

Step 6:Between the open and close ContenTemplate tages add something. I added the following 2 letters, Hi.

Step 7: Set the page we have been working on to your startup page and run it.

Step 8: You will get the following exception every time. Sys.ArgumentUndefinedException: Value cannot be undefined. Parameter name: type

I have tried about 15 different ways to create the most simple use of this control and it fails every time in IE7 and FireFox.

The code.


Posted: Jul 30, 2010 05:16 PM

View 3 Replies!   View Related
AJAX :: Collapsiblepanelextender And A TabContainer With Two Tabs?
I have a Collapsiblepanelextender and a TabContainer with two tabs. the code works fine in FF and Chrome but fails in IE8. I am using VS2008 .Net 3.5 and the latest AjaxToolkit.

I am trying to control the collapsible behavior through tab clicking using javascript. here is the code to replicate my problem.

The aspx.cs code:


Posted: Jan 06, 2011 07:00 PM

View 1 Replies!   View Related
AJAX :: DisableTabPanel Inside TabContainer?
i am using panelContainer with two Panelcontrol, I need to disable a panel, How can i disable a panel??

I am using the following code Is any one

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ajax:TabContainer ID="TabContainer1" CssClass="ajax__tab_xp .ajax__tab_body" BackColor="#cc9900" runat="server">
<ajax:TabPanel ID="Tabpanel1" runat="server" TabIndex="1" HeaderText ="ADD" >
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
<ajax:TabPanel ID="TabPanel" TabIndex="1" runat="server" >
<HeaderTemplate >Edit </HeaderTemplate>
<asp:Button ID="button" runat="server" />

Posted: Feb 06, 2007 08:18 AM

View 7 Replies!   View Related
AJAX :: Activate TabPanel In TabContainer?
How to activate a specific TabPanel in TabContainer from code behind?I tried the following but it doesn't change activate the tab.


Posted: Jan 08, 2011 04:31 PM

View 2 Replies!   View Related
AJAX :: TabContainer Flickering On Postback
I want to use a TabContainer configured with a postback on a tab-change. if a change the active tab, the new tab is shown immediately with the old data. After that, the postback is running. Then, the new data are appearing. The problem is the flickering effect. The tab changes, old data are shown, than a new load with the new data. I want to disable the tabchange by javascript. I only want to do it by a roundtrip. But i cannot find a setting.

Posted: Oct 30, 2009 04:18 PM

View 2 Replies!   View Related
AJAX :: TabContainer Hiding On Postback
I have a page that contains a Ajax TabContainer control with three tabs, this is all dynamically created and added using the code-behind file. Inside each tab I have one or more gridview controls that can cause a postback for various reasons.

When a gridview control causes a postback, the entire tabcontainer gets hidden on the page and therefore nothing is displayed. In the HTML source code I can see that the controls have been added to the page, but the tabcontainer has a style added to it (style="visibility: hidden"]. If I remove this style using the developer tools, the tabcontainer displays and all tabs, but some of the styling gets lost. Is there a specific reason why this occurs and how I can resolve this?

Posted: Sep 18, 2010 07:12 AM

View 4 Replies!   View Related
AJAX :: Focus Not Set To Textbox Under A Tabcontainer?
I am having problem to set focus default on textbox control under ajax tab(2).

Made a clear sample default.aspx page as below:

<asp:ScriptManager ID="ScriptManager1" runat="server" />
<cc1:TabContainer ID="TabContainer1" runat="server">
<cc1:TabPanel ID="tab1" runat="server" HeaderText="Label Control">
<asp:Label ID="tb1" runat="server" />
<cc1:TabPanel ID="tab2" runat="server" HeaderText="Textbox Control">
focus not set on this textbox control: <asp:TextBox ID="tetBox2" runat="server"></asp:TextBox>

Code in page load event:

ScriptManager.GetCurrent(this.Page).SetFocus(txtBox2); or
ScriptManager scirptmanager = ScriptManager.GetCurrent(;
scriptmanager.SetFocus(txtBox2); or

Script are not working on both FF and IE browsers.

Posted: Nov 23, 2009 08:46 PM

View 5 Replies!   View Related
AJAX :: Adding Border To Tabcontainer?
I've read about people trying to REMOVE borders from AJAX tabcontainer, but not having problems adding one.

I've set the border properties on the tabcontainer, and the TabPanel, and neither seems to work. To check my work, I set the backcolor property on both, and neither renders. I've included code for reference. Am I missing something?


I also tried removing the inline styling for the tabpanel and including a cssclass. When I added it to my first TabPanel, I got a border, but only around the tabs (horizontal line extending from bottom of tab to edge of screen. At edge, it turned straight up for the height of my tab). When i switch to 2nd tab, the border goes away (since it's not pointing to cssclass). If I toggle, further, back to the 1st page, my border is gone. I then added cssclass to 2nd tab, and now there is no border on either.

This is really frustrating. I want to put a border, simply, around my contenttemplate. It doesn't seem like this should be difficult. Probably user error..

Posted: Nov 09, 2009 05:50 PM

View 7 Replies!   View Related
AJAX :: Tabcontainer Is Always Rendered As Hidden?
my tabcontainer is always rendered as hidden.

this is the asp code


and this is how it renders


Posted: May 13, 2007 02:46 AM

View 25 Replies!   View Related
AJAX :: How To Find Parent Tab In Tabcontainer
i am using ajaxtab container. in that 3 tabs are there.

there aredifferent controls are there(textbox,dropdown).

how to find perticular control is in which tab??

Posted: Dec 11, 2009 01:35 PM

View 3 Replies!   View Related
AJAX :: Set A TabContainer To Hidden / Visible
how toset a TabContainer to hidden/visible. I have tried placing it in adiv and ina panel, but when I hide these(style="visibility: hidden;"), the Tabcontainer stays visible! Setting the style of the TabContainer itself doesn't work.

Posted: Feb 10, 2011 07:54 PM

View 3 Replies!   View Related
AJAX :: TabContainer Invisible After Upgrade To 4.0?
We upgraded our project to 4.0 yesterday and did alive release. Unfortunatelyfor some reasonon one of our pages the tab container does not display anymore. I've set a breakpoint at the end of code execution and the .Visible property of the container is True, but the generated HTML has a CSS tag set to make it invisible:

<div class="ajax__tab_xp" id="ctl00_PageBody_tbcTabs"

If I use the IE8 development tools toremove the style property then everything displays correctly. why the container is set tobe invisible even though the code behind is setting it to visible?

Posted: Sep 21, 2010 10:34 AM

View 2 Replies!   View Related
AJAX :: Add Close To All The Tabs In A Tabcontainer?
how to add close to all the tabs in a tabcontainer.The scenario is, I have only TabContainer on aspx and m populating tabs with UserControls programmatically (with use of DOM). How can I develop the close of a tab with small X on each of the tab? I am not sure how many tabs I have.

Posted: Jun 16, 2010 04:38 PM

View 4 Replies!   View Related
Copyright 2005-08, All rights reserved