单击融合图表获取值 [英] Get Values on clicking fusion chart

查看:75
本文介绍了单击融合图表获取值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





请帮助我,如何将fusionchart的价值(点击时)传递给ac#函数。

Hi,

Please help me, how to pass the value of fusionchart(when clicking on it) to a c# function.

<chart>
<set label='Sample1' name='Sample1' value='1' tooltext='Sample1,1' link='JavaScript:MyFunc(%26quot; ABC %26quot;);' />
<set label='Sample2' name='Sample2' value='2' tooltext='Sample2,1'  link='JavaScript:MyFunc(%26quot; xyz %26quot;);' />
</chart>



点击图表我打电话给Js。


I am calling Js on clicking on chart.

function MyFunc(var1) {
            var modal = $find("newtest");
            $("#dialog").empty();
            $("#dialog").append("<iframe frameborder='0' sandbox='allow-top-navigation' target='_Parent' seamless='seamless' width='100%' height='100%' src='WebForm2.aspx'></iframe>");
            modal.show();
        }



这里我点击图表获取值。但问题在于IFrame。



我使用IFrame调用页面'WebForm2.aspx',我在该页面中添加了GridView。 Codebehind正在处理页面加载,但不支持回发。

所以我正在寻找任何其他选项来回发'webform2.aspx'



提前致谢


Here I am getting values on-clicking the chart. But the problem is with IFrame.

I am calling the page 'WebForm2.aspx' using IFrame, and I have added GridView in that page. Codebehind is working on page load, but not working on postback.
So I am searching for any other option to do postback to 'webform2.aspx'

Thanks in advance

推荐答案

find( newtest);


#dialog)。empty();
("#dialog").empty();


#dialog)。append( < iframe frameborder ='0'sandbox ='allow-top-navigation'target ='_ Parent'eamless ='seamless'width ='100 %'height ='100%'src ='WebForm2.aspx'>< / iframe>);
modal.show();
}
("#dialog").append("<iframe frameborder='0' sandbox='allow-top-navigation' target='_Parent' seamless='seamless' width='100%' height='100%' src='WebForm2.aspx'></iframe>"); modal.show(); }



这里我点击图表获取值。但问题在于IFrame。



我使用IFrame调用页面'WebForm2.aspx',我在该页面中添加了GridView。 Codebehind正在处理页面加载,但不支持回发。

所以我正在寻找任何其他选项来回发'webform2.aspx'



提前致谢


Here I am getting values on-clicking the chart. But the problem is with IFrame.

I am calling the page 'WebForm2.aspx' using IFrame, and I have added GridView in that page. Codebehind is working on page load, but not working on postback.
So I am searching for any other option to do postback to 'webform2.aspx'

Thanks in advance


这篇关于单击融合图表获取值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆