Hello,
I would like to open a Pop up window when clicked on chart title.. I have used Javascript function to open the pop-up.
I would like to open a Pop up window when clicked on chart title.. I have used Javascript function to open the pop-up.
function
ShowPopUpDialog() {
window.open(
'Details.aspx'
,
'ChartDetails'
,
'height = 300px, width = 300px'
,
true
);
}
Here is the call to Javascript function from chart click event
Protected
Sub
RadChart2_Click(
ByVal
sender
As
Object
,
ByVal
args
As
Telerik.Charting.ChartClickEventArgs)
Handles
RadChart2.Click
Session(
"ChartReference"
) =
"AccountSize"
RadChart2.ChartTitle.ActiveRegion.Url =
"javascript:ShowPopUpDialog();"
End
Sub
When I clicked on the chart Title the first time, I see that it is triggering a javascript:_doPostback event instead of my function... It works fine as expected from second click onwards..(after the postback)
Any help to resolve this behavior is appreciated
Thanks.