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