Nov 15, 2014, 8:54 PM
MVC TabPanel - Set tab ready to load content after Activate
Hi, I have a grid with a list of people and a formPanel into the first tab where the data of the selected person is loaded. The second tab load a grid with aditional data whit a Loader sending de PersonID for selected person.
Thanks
X.Panel()
.ID("TabPedidosEntregados")
.Title("Pedidos Entregados")
.Disabled(true)
.AutoScroll(true)
.Loader(X.ComponentLoader()
.Url(Url.Action("PedidosEntregados"))
.LoadMask(m => m.ShowMask = true)
.Params(new Parameter("containerId", "TabPedidosEntregados"))
.Params(new Parameter("id_cliente", "App.HiddenIdCliente.getValue() == '' ? 0 : App.HiddenIdCliente.getValue()", ParameterMode.Raw))
.Mode(LoadMode.Frame)
)
The thing is that when I select a new person to the grid on the left, on the grid of the second tab from the right panel, the previous data remains. How can I leave the tab ready to fire the loader when activate de tab like de first load?Thanks
Last edited by logidat; Nov 15, 2014 at 8:58 PM.