Open a Popup in Response to a Click

RadChart has been replaced by RadHtmlChart, Telerik's client-side charting component. If you are considering RadChart for new development, examine the RadHtmlChart documentation and online demos first to see if it will fit your development needs. If you are already using RadChart in your projects, you can migrate to RadHtmlChart by following these articles: Migrating Series, Migrating Axes, Migrating Date Axes, Migrating Databinding, Features parity. Support for RadChart is discontinued as of Q3 2014, but the control will remain in the assembly so it can still be used. We encourage you to use RadHtmlChart for new development.

To open a window in response to a click you can use the ActiveRegionUrl property and assign a javascript that will in turn open the window:

  • In the ASP.NET HTML markup define a JavaScript method that will display the popup window:
function ShowPopUpDialog(url) {, 'MyPopUpWindow', 'height = 300px, width = 300px', true);
  • Locate a ActiveRegion property, e.g. from a chart series item and assign a call to the JavaScript using the ActiveRegionUrl property:
RadChart1.Series[0].Items[0].ActiveRegion.Url =  "javascript:ShowPopUpDialog('SalesDetail.aspx');";     
RadChart1.Series(0).Items(0).ActiveRegion.Url =  "javascript:ShowPopUpDialog('SalesDetail.aspx');"
In this article
Not finding the help you need? Improve this article