This is a migrated thread and some comments may be shown as answers.

Chart DataPoint ActiveRegion Attributes

0 Answers 14 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Twu
Top achievements
Rank 1
Twu asked on 03 Oct 2013, 02:07 PM
Hey there, 

I am trying to generate the following 

onclick="return RunScript('/SC/ServiceModules/Handlers/ActionHandler.ashx?_o=48ba5dd8-35ff-4aff-9465-06501f4e6d53&_an=STOP&Name=b61f62b9-c191-45a5-ac8c-1e329ec5c3a2&_pvg=034cd5fc-c1c0-4ec8-935a-53864241dcae&_at=OMCommand','Are you sure you want to Turn Off?');" 

inside the area tag,  and using the following: 

string attri =onclick="return RunScript('/SC/ServiceModules/Handlers/ActionHandler.ashx?_o=48ba5dd8-35ff-4aff-9465-06501f4e6d53&_an=STOP&Name=b61f62b9-c191-45a5-ac8c-1e329ec5c3a2&_pvg=034cd5fc-c1c0-4ec8-935a-53864241dcae&_at=OMCommand','Are you sure you want to Turn Off?');" 


chartSeries.Items[j].ActiveRegion.Attributes = attri; 

but seems that the output always get rid of / character,and the onclick does not works

Thanks,T

No answers yet. Maybe you can help?

Tags
Chart (Obsolete)
Asked by
Twu
Top achievements
Rank 1
Share this question
or