Hi
I am using a RadChart - Bar. Currently when the user clicks on the bar the new page opens. But instead of a page I want Ajax modalpopup. Is there any way to do that and how can I pass the values of the that bar to the ModalPopup.
Follwing are the code I using it currently
In the ItemDataBound :
In the javascript
Thanks
I am using a RadChart - Bar. Currently when the user clicks on the bar the new page opens. But instead of a page I want Ajax modalpopup. Is there any way to do that and how can I pass the values of the that bar to the ModalPopup.
Follwing are the code I using it currently
In the ItemDataBound :
//ShowPopUpDialog
ChartSeriesItem item = e.SeriesItem;
item.ActiveRegion.Tooltip = (string)((DataRowView)e.DataItem)["TeamName"];
item.ActiveRegion.Url = "javascript:ShowPopUpDialog('Check.aspx?campaign="
+ item.ActiveRegion.Tooltip + "'); ";
In the javascript
<
script
type
=
"text/javascript"
>
function ShowPopUpDialog(url) {
window.open(url, 'MyPopUpWindow', 'height = 600px, width = 800px', true);
}
Thanks