tabcontainer

Remembering active tab on refresh of ASPX page

雨燕双飞 提交于 2019-12-12 01:30:24
问题 I've got an ASPX page set up that loads and displays dynamic data from a local SQLite database. Since the data is being written to the database from a separate C# application, I've set up my ASPX page to refresh every 30 seconds when the database has flagged itself as actively receiving new data. On my ASPX page, I've got a TabContainer with several different TabPanels that each represent a different view of the data. Now, when my page is being refreshed, the active tab panel is being reset

EnhancedGrid in a TabContainer not working

一笑奈何 提交于 2019-12-11 11:07:41
问题 I've been beating my head against the wall on this one for a while. I've done a ton of google searches and I think that I've set it up correctly, but it doesn't work. I have an enhancedGrid on top and a tabContainer on the bottom. The idea is to click on an item on the top and show different related data on the bottom tabs. The top grid is displayed correctly (I've removed all the plugins to save on space). The two tabs on the bottom display correctly if I have regular text in the

Dijit Tabcontainer inside a custom widget-Tablist width runs too long

你说的曾经没有我的故事 提交于 2019-12-10 17:38:53
问题 I have a templated custom widget that inherits from dijit.layout._LayoutWidget, dijit._Container, and dijit._Templated which gives my widget native Widget support for resizing, etc. All I need is a TabContainer, which is sized to the size of widget. Here is my widget. <div dojoAttachPoint="containerNode"> <div dojoType="dijit.layout.TabContainer" tabPosition="top" style="width:100%;height:100%" > <div dojoType="dijit.layout.ContentPane" title="tab" selected="true"> hello </div> </div> </div>

AJAX Tabcontainer inside formview not inserting values

社会主义新天地 提交于 2019-12-06 11:07:14
I have a TabContainer inside a data bound FormView (to present the information by category ex: Client Bio data, health history, financial details...). The Update and Insert of the formView doesn't work (posting NULL values to the database) - I guess the FormView cannot find the TextBoxes inside the tab container's tab panels. Some of the forums say that it's because of the TabContainer's implementation (by design) of "INamingContainer", and a hack is to take control of the TabContainer's source code (ajax ctl toolkit's source code) and remove the "INamingContainer" interface from it... Too

AjaxToolkit: the last TabContainer on the page is focused on page load

左心房为你撑大大i 提交于 2019-12-04 03:19:25
问题 I'm using more than one TabContainer on a page in an ASP.NET project and I noticed a really strange behavior: when the page is loaded the focus jumps to the last TabContainer on the page, causing it to scroll down. I don't explicitly focus on any control so I don't understand where this is coming from. I also switched places between the controls and it is always the last one that is focused. The TabContainers don't have any fancy settings, this is basically what they look like: <cc1

Setting active tab in ASP.NET Ajax TabContainer causes entire container to disappear

 ̄綄美尐妖づ 提交于 2019-12-04 01:38:50
问题 I have an ASP.NET page that uses the ASP.NET Ajax Control Toolkit TabContainer. In the Page_Load event, I am hiding some of the tabs based on the data given to the page. I then want to make one of the tabs active based on the value of an (optional) query string parameter. So I have: protected void Page_Load ( object sender, EventArgs e ) { if ( !this.IsPostBack ) { // Tabs with no data are hidden in here LoadDataIntoTabs(); PreselectCorrectTab(); } } private void PreselectCorrectTab () { if (

Lazy loading tabs with user controls

↘锁芯ラ 提交于 2019-12-02 05:42:15
问题 I want to use lazy loading of tabs in AJAX tab container. I have implemented it. But the problem that I am facing is that when I click a button or fire any event in that user control, it is not fired; nothing happens. <asp:TabContainer runat="server" ID="TabContainerUp" ActiveTabIndex="0" AutoPostBack="true" OnActiveTabChanged="TabContainerUp_ActiveTabChanged"> <asp:TabPanel ID="tab1" runat="server"> <HeaderTemplate> <img src="images/uc1.png" alt="" /> </HeaderTemplate> <ContentTemplate> <asp

Lazy loading tabs with user controls

夙愿已清 提交于 2019-12-01 23:00:00
I want to use lazy loading of tabs in AJAX tab container. I have implemented it. But the problem that I am facing is that when I click a button or fire any event in that user control, it is not fired; nothing happens. <asp:TabContainer runat="server" ID="TabContainerUp" ActiveTabIndex="0" AutoPostBack="true" OnActiveTabChanged="TabContainerUp_ActiveTabChanged"> <asp:TabPanel ID="tab1" runat="server"> <HeaderTemplate> <img src="images/uc1.png" alt="" /> </HeaderTemplate> <ContentTemplate> <asp:Panel ID="pnlUC1" runat="server"> </asp:Panel> </ContentTemplate> </asp:TabPanel> <asp:TabPanel ID=

AjaxToolkit: the last TabContainer on the page is focused on page load

我的未来我决定 提交于 2019-12-01 17:11:24
I'm using more than one TabContainer on a page in an ASP.NET project and I noticed a really strange behavior: when the page is loaded the focus jumps to the last TabContainer on the page, causing it to scroll down. I don't explicitly focus on any control so I don't understand where this is coming from. I also switched places between the controls and it is always the last one that is focused. The TabContainers don't have any fancy settings, this is basically what they look like: <cc1:TabContainer ID="tabContainer" runat="server"> <cc1:TabPanel runat="server" HeaderText="Header1" ID="tabPanel1"