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.
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:
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. "
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)
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?
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?
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.
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.
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.
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 ?
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
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:
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.
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:
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?
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..
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.
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:
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.