I want to use the asp:chart control in multiple pages of an MVC application. My pages do have some other content as well. So I want to add an aspx web form page with chart control as a partial view.
I know an html helper is available for chart. But, I don't want to use it as I already have a webform page with asp:chart control. I can just add it.

I searched a lot on the web. I am getting blogs on how to add a webform page with master page in MVC application, but didn't get for web form as a partial view. Can some one give some idea or any link to follow.

My aspx page with chart control

```
<asp:Chart ID="chartMain" runat="server" Height="500px" Width="780px" BackGradientStyle="TopBottom" BackSecondaryColor="White"
            Palette="BrightPastel" BorderColor="Gray" BackColor="#f4f4f4" BorderlineDashStyle="Solid" BorderWidth="4" ImageType="Png">
            <Legends>
                <asp:Legend IsTextAutoFit="False" Name="Default" BackColor="Transparent" Font="Trebuchet MS, 8.25pt, style=Bold"></asp:Legend>
            </Legends>
            <ChartAreas>
            </ChartAreas>
</asp:Chart>

```

& In code behind I am initializing the asp:chart control properties.

```
public partial class AspNetchart : Page
{
    protected void Page_Load(object Sender, EventArgs E)
    {
        try
        {
            DrawChart();
            return;
        }
        catch (Exception Ex)
        {  }
    }

    private void DrawChart()
    {
        try
        {
            // Set the data source
            chartMain.DataSource = ObjChartDetails.ChartDataSource;

            // Add series
            AddSeries();

            // Prepares chart area
            DrawChartArea();
        }
        catch (Exception Ex)
        {}
    }
}

```

Now I have chart in this aspx page. I just want to render this aspx page as a partial view in my MVC application.