AJAX :: Case Of The Disappearing TabContainer?

Mar 17, 2010 02:07 AM

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



AJAX :: TabContainer Body Border Doesn't Work For Hidden Div Inside Tabcontainer

Dec 17, 2010 07:57 AM

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

View 1 Replies View Related

AJAX :: Hiding First TabPanel Of TabContainer Hides The TabContainer?

Nov 20, 2009 01:49 PM

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]


View 7 Replies View Related

AJAX :: Prevent The Pop Up Window From Disappearing?

Oct 25, 2010 09:00 PM

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:


View 6 Replies View Related

Root Path With Tilde - Doesn't Change Upper Case To Lower Case

Dec 30 10 at 13:41

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. "

View 1 Replies View Related

HttpHandlers / Modules :: QueryString Recieved In Lower Case Instead Of Mixed Case?

Jul 29, 2009 03:10 PM

QueryString recieved in lower case instead of mixed case?,

View 7 Replies View Related

Web Forms :: Gridviews Disappearing When Enlarging Ajax TabPanel?

Mar 10, 2010 06:21 PM

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 gridviews disappear!

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)

View 1 Replies View Related

VS 2008 Ajax Control Toolkit Disappearing From Toolbox

Oct 27th, 2009, 02:26 PM

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?

View 3 Replies View Related

AJAX :: Prevent ModalPopup From Disappearing After Wrong Login?

May 06, 2010 08:03 PM

I put loginView control inside ModalPopupExtender, the problem is: when I try to login with wrong user/password and press the login 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 can I do to prevent ModalPopup from disappearing after wrong login?

View 3 Replies View Related

AJAX :: How To Set Tabcontainer ( Ajax Tool) Width Size According To Users Desktop Screen Resolution

Mar 25, 2010 03:36 AM

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


View 1 Replies View Related

AJAX :: How To Lazy Loading Using Ajax Toolkit TabContainer Control

Jul 22, 2010 04:00 AM

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.

View 7 Replies View Related

Can A Tabcontainer Inherit The Style Of The 'parent' Tabcontainer

Nov 01, 2009 11:57 PM

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.

View 1 Replies View Related

AJAX :: TabContainer RTL?

Dec 03, 2010 05:54 PM

m kinda new in asp.net ,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.

View 1 Replies View Related

AJAX :: Wizard In Update Panel - When Click Any Button The Wizard Disappearing

Jul 14, 2010 08:02 AM

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 ?

View 1 Replies View Related

Looking For An Ajax Tabcontainer Tool?

Sep 24, 2009 02:54 AM

i need an ajax tabcontainer tool for asp.net 2.0??

View 2 Replies View Related

AJAX :: How To Rebuild The Tabcontainer

Mar 29, 2010 10:25 AM

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

View 2 Replies View Related

AJAX :: How To Get Vertical Tab Using Tabcontainer

Feb 05, 2010 05:19 AM

how to get vertical tab using tabcontainer in ajax controls.

View 2 Replies View Related

C# - TabContainer In The AJAX Toolkit

Sep 20 10 at 20:09

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 ASP.net 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" />

View 1 Replies View Related

AJAX :: Close A Tab In TabContainer?

Aug 19, 2010 08:08 AM

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 tab...it just make it invisible and work correctly only once....

Could any give the code in C#..

View 2 Replies View Related

AJAX :: TabContainer, Use It Dynamically?

May 14, 2010 02:08 PM



View 3 Replies View Related

AJAX :: TabContainer And VideoPlayer?

Feb 17, 2011 09:46 AM

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 ?

View 1 Replies View Related

AJAX :: TabContainer Not Showing?

Dec 08, 2009 08:34 PM

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.

View 4 Replies View Related

AJAX :: TabContainer And ShowModalDialog?

Dec 19, 2008 08:41 AM

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.

View 3 Replies View Related

Dynamic Select Case - Loop Inside Select Case

Feb 28, 2009 06:58 PM

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:


View 1 Replies View Related

Use Ajax RoundedCornersExtender Control With TabContainer?

Dec 24 09

Can we use Ajax RoundedCornersExtender control with AJax,tabContainer?

View 3 Replies View Related

AJAX :: TabContainer Active Tab Using JavaScript?

Aug 02, 2008 09:20 AM

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 events works fine:

Click a tab

View 3 Replies View Related

AJAX :: Floating Divs In TabContainer

Nov 21, 2010 01:22 PM

I am having a problem floating div's inside the AJAX TabContainer. The content I place inside the TabPanel is jumping outside 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 is the css for this code segment:

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

I found a possible solution here: [URL], but I'm hoping for another option before I give up on having a border.

View 3 Replies View Related

AJAX :: TabContainer Sys.ArgumentUndefinedExcpetion - Value Cannot Be Undefined

Jul 30, 2010 05:16 PM

I have seen posts discussing this error however, no post has identified a solution to address the 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 view go 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.


View 3 Replies View Related

AJAX :: Collapsiblepanelextender And A TabContainer With Two Tabs?

Jan 06, 2011 07:00 PM

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:


View 1 Replies View Related

AJAX :: DisableTabPanel Inside TabContainer?

Feb 06, 2007 08:18 AM

i am using panelContainer with two Panel control, 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" />

View 7 Replies View Related

AJAX :: Activate TabPanel In TabContainer?

Jan 08, 2011 04:31 PM

How to activate a specific TabPanel in TabContainer from code behind? I tried the following but it doesn't change activate the tab.


View 2 Replies View Related

AJAX :: TabContainer Flickering On Postback

Oct 30, 2009 04:18 PM

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.

View 2 Replies View Related

AJAX :: TabContainer Hiding On Postback

Sep 18, 2010 07:12 AM

I have a asp.net 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?

View 4 Replies View Related

AJAX :: Focus Not Set To Textbox Under A Tabcontainer?

Nov 23, 2009 08:46 PM

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(this.page);
scriptmanager.SetFocus(txtBox2); or

Script are not working on both FF and IE browsers.

View 5 Replies View Related

AJAX :: Adding Border To Tabcontainer?

Nov 09, 2009 05:50 PM

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..

View 7 Replies View Related

AJAX :: Tabcontainer Is Always Rendered As Hidden?

May 13, 2007 02:46 AM

my tabcontainer is always rendered as hidden.

this is the asp code


and this is how it renders


View 25 Replies View Related

AJAX :: How To Find Parent Tab In Tabcontainer

Dec 11, 2009 01:35 PM

i am using ajax tab container . in that 3 tabs are there.

there are different controls are there(textbox,dropdown).

how to find perticular control is in which tab??

View 3 Replies View Related

AJAX :: Set A TabContainer To Hidden / Visible

Feb 10, 2011 07:54 PM

how to set a TabContainer to hidden/visible. I have tried placing it in a div and in a panel, but when I hide these (style="visibility: hidden;"), the Tabcontainer stays visible! Setting the style of the TabContainer itself doesn't work.

View 3 Replies View Related

AJAX :: TabContainer Invisible After Upgrade To 4.0?

Sep 21, 2010 10:34 AM

We upgraded our project to 4.0 yesterday and did a live release. Unfortunately for some reason on 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 to remove the style property then everything displays correctly. why the container is set to be invisible even though the code behind is setting it to visible?

View 2 Replies View Related

AJAX :: Add Close To All The Tabs In A Tabcontainer?

Jun 16, 2010 04:38 PM

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.

View 4 Replies View Related

Copyrights 2005-14 www.BigResource.com, All rights reserved