hi all,
I hope I can explain my issue. I have built a web page following exactly this demo:
http://demos.telerik.com/aspnet-mvc/razor/grid/selectionclientside?theme=vista
So, when the server-bind occurs first, I pass via Viewbag my model to the grid, so far so good.
I also create a Chart based on the same model and use the Dialog control to display it via a button, i.e:
@{ Html.Telerik().Window()
.Name("WindowGraph")
.Visible(false)
.blah blah blah some code here
.Content(@<text>
<p style="text-align: center">
@Html.Partial("_ChartOrders", (IEnumerable<AllOrdersPerCust>)ViewData["AllOrdersPerCust"])
</p>
</text>)
.Render();
}
When you select another customer on master Grid, the data in Orders change which is the behaviour.
I would like to update the partial data I created above but with the NEW Orders data.
How do I do that? I am a beginner and am struggling with all these new stuff: jQuery, JSON, MVC3, etc...
Thank you