Jan 11, 2013, 11:19 AM
[CLOSED] GridPanelFor + HttpProxy
Hi,
I would like to know if is possible reload a gridpanel when using GridPanelFor with data comming from Controller.
Please, look:
So, when I click in a button and call a controller's method that update ViewData["Person"] what should I do to reload this GridPanel?
Thank you
I would like to know if is possible reload a gridpanel when using GridPanelFor with data comming from Controller.
Please, look:
public ActionResult Index()
{
List<Person> p = new List<Person>();
p.Add(new Person() { ID = 1, Name = "aaa" });
p.Add(new Person() { ID = 2, Name = "bbb" });
ViewData["Person"] = p;
return View();
}
@(Html.X().GridPanelFor((List<General.Controllers.RelatorioProdutosController.Person>)ViewData["Person"]))
So, when I click in a button and call a controller's method that update ViewData["Person"] what should I do to reload this GridPanel?
Thank you
Last edited by Daniil; Jan 15, 2013 at 4:09 AM.
Reason: [CLOSED]