Oct 27, 2014, 11:28 AM
[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!
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]