New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Open a Popup in Response to a Click

RadChart has been deprecated since Q3 2014 and is no longer recommended for use, as it does not support modern browsers. We strongly recommend using RadHtmlChart, Telerik's modern client-side charting component. To transition from RadChart to RadHtmlChart, refer to the following migration articles:

Explore the RadHtmlChart documentation and online demos to determine how it fits your development needs.

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:
JavaScript
function ShowPopUpDialog(url) {
	window.open(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:
C#
RadChart1.Series[0].Items[0].ActiveRegion.Url =  "javascript:ShowPopUpDialog('SalesDetail.aspx');";		
Not finding the help you need?
Contact Support