Take the 2-minute tour ×

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

share|improve this question

1 Answer 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

share|improve this answer
thx a lot . but can you also tell me how to generate a pie chart dynamically using mvc2 as we cannot use any controls other than html controls –  munatri baruah Mar 24 '11 at 11:39

Your Answer


