简体   繁体   中英

How to call User Control from one of the Javascript function?

I am using High-chart where in,a Graph is plot with different points. When I click on a point, I am supposed to call a user-control ? How shall I call a user control?

Below is the function of High-chart

plotOptions: {
        series: {
           cursor: 'pointer',
           events: {
            click: function(event) {
                         CreateFailureTrendForDevice(pointVal);
                   }
                }
             }

CreateFailureTrendForDevice is a function in JS initially I used to use Ajax to Plot another graph but now I want to use Usercontrol ...

我不确定我是否完全了解您,用户控件中的javascript代码是aspx页的整个DOM中的全局代码。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM