This question is locked. New answers and comments are not allowed.
Hi,
I have a tabstrip into which I am loading a chart (pie) via LoadContentFrom. That works great.
I now want to extend this and display multiple charts (pies again) in the same tab but this is where I am stuck.
Currently, each partial view is associated with a controller and model and each works individually if I substitute the partial view name in the LoadContentFrom call. Query parameters are passed in the LoadContentFrom RouteValueDictionary argument and work ok for each chart when displayed on their own. Note the models for each are different.
I've tried using another partial view in which these are loaded via multiple @Html.Partial statements but the arguments passed with the LoadContentFrom in the RouteValueDictionary do not seem to be passed automatically so I end up with three empty charts.
Any suggestions how to get the arguments passed to the inner partial views please?
Also, any comments welcome regarding my approach.
Thanks
Craig
I have a tabstrip into which I am loading a chart (pie) via LoadContentFrom. That works great.
I now want to extend this and display multiple charts (pies again) in the same tab but this is where I am stuck.
Currently, each partial view is associated with a controller and model and each works individually if I substitute the partial view name in the LoadContentFrom call. Query parameters are passed in the LoadContentFrom RouteValueDictionary argument and work ok for each chart when displayed on their own. Note the models for each are different.
I've tried using another partial view in which these are loaded via multiple @Html.Partial statements but the arguments passed with the LoadContentFrom in the RouteValueDictionary do not seem to be passed automatically so I end up with three empty charts.
Any suggestions how to get the arguments passed to the inner partial views please?
Also, any comments welcome regarding my approach.
Thanks
Craig