This question is locked. New answers and comments are not allowed.
I have a drop down for a column in telerik grid that is defined as a ClientTemplate
This column is a part of the child grid that lists all parts in a group.The master grid lists all groups.
I build the master detail hierarchy using http://demos.telerik.com/aspnet-mvc/grid/hierarchyajax
Besides master detail hierarchy i also have editing for both the grids.
Now on server side code inside an action method, when a new group is added the ViewData["Groups"] gets updated with the new group. Even though i rebind the grids and can see Select actions getting invoked (using fidler) for both parent and child grids the drop down is somewhat not refereshed.Any help is appreciated.
Thanks!
columns.Bound(d => d.GroupID).ClientTemplate((@Html.DropDownList("ddGroups", new SelectList((System.Collections.IEnumerable)ViewData["Groups"], "GroupID", "GroupName", new { style = "width:110px;" })).ToString()).Title("Group").Width("15%")This column is a part of the child grid that lists all parts in a group.The master grid lists all groups.
I build the master detail hierarchy using http://demos.telerik.com/aspnet-mvc/grid/hierarchyajax
Besides master detail hierarchy i also have editing for both the grids.
Now on server side code inside an action method, when a new group is added the ViewData["Groups"] gets updated with the new group. Even though i rebind the grids and can see Select actions getting invoked (using fidler) for both parent and child grids the drop down is somewhat not refereshed.Any help is appreciated.
ViewData["Groups"] = client.GetBOMGroups(BOMID);Thanks!