[CLOSED] Empty tabs in TabPanel when having Models defined

  1. #1

    [CLOSED] Empty tabs in TabPanel when having Models defined

    Hi,

    I am adding a tab with PartialView from the server and this is working OK. But because I have 2 Models defined in the view, there are created two additional empty tabs. When I comment the Models the empty tabs disappear.

    The code for adding the tab is something like:

    var result = new Ext.Net.MVC.PartialViewResult
    {
    ViewName = "EditEntity",
    ContainerId = containerId,
    RenderMode = RenderMode.AddTo,
    Model = model
    };

    Could you please tell me what to do to not have the empty tabs?

    Thanks!
    Last edited by Daniil; Oct 27, 2014 at 5:20 PM. Reason: [CLOSED]
  2. #2
    I fixed the problem by including the Models inside a "@section headtag{ ... }".

    Thanks!
    Last edited by developeriw; Oct 27, 2014 at 3:46 PM.

Similar Threads

  1. [CLOSED] TabPanel tabs activating differently if remove tabs
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Mar 15, 2013, 3:41 PM
  2. Add tabs to the tabpanel
    By Vaishali in forum 1.x Help
    Replies: 1
    Last Post: Oct 04, 2012, 11:23 AM
  3. How to close all tabs in TabPanel
    By ozayExt in forum 1.x Help
    Replies: 3
    Last Post: Apr 27, 2012, 11:48 AM
  4. Tabs are not added to tabPanel
    By Vaishali in forum 1.x Help
    Replies: 26
    Last Post: Feb 21, 2012, 8:13 AM
  5. Hi, Why the TabPanel cannot update 2 tabs?
    By bruce in forum 1.x Help
    Replies: 2
    Last Post: Apr 20, 2009, 10:25 PM

Posting Permissions