generate dynamic pie chart and page redirection in mvc2

感情迁移 提交于 2019-12-12 06:32:37

问题


I want to know how to generate a pie chart dynamically. and how to redirect a page to another web page?


回答1:


You could use Silverlight for the pie chart, it is very good for those and dynamic.

for redirecting the page, if the page you want to redirect to is a View which is rendered by an action method, you can redirect to that action and it will redirect the page to its corresponding view after doing its magic:

public ActionResult SomeAction(int id)
{
    // Do your things here

    return RedirectToAction("Index");
}

EDIT: Yes, that's why I told you to use Silverlight :), to get started, you need to check Silverlight Charting Toolkit and here's a video on Pie Chart



来源:https://stackoverflow.com/questions/5417767/generate-dynamic-pie-chart-and-page-redirection-in-mvc2

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!