This question is locked. New answers and comments are not allowed.
Hi,
I have a partial view which has a telerick grid.From the controllers action method ,I am passing a grid result as viewdata to the partialview and a viewmodel as model to the parent view.Till now it is working fine.Now,When I try adding a new record using telericks "+Add new Record " feature,Its is updating the viewdata.
So,In "new ()" Action method in controller,tryupdatemodel(Model) is always returning false.Please help me how to work with viewdata in controller in this context,
I have a partial view which has a telerick grid.From the controllers action method ,I am passing a grid result as viewdata to the partialview and a viewmodel as model to the parent view.Till now it is working fine.Now,When I try adding a new record using telericks "+Add new Record " feature,Its is updating the viewdata.
So,In "new ()" Action method in controller,tryupdatemodel(Model) is always returning false.Please help me how to work with viewdata in controller in this context,