开发者

How can we relate different controls such as check box, drop down list etc with the chart conrol in asp.net mvc

How can 开发者_运维百科we relate different controls such as check box, drop down list, etc with the chart control in ASP.Net MVC?

We can't use postback method in ASP.Net MVC then how can we perform different events in ASP.Net MVC on helpers?


JQuery can help here. You can hook up JQuery to asynchronously call a controller action when for example a checkbox is checked or a dropdownlist changes. The action could then regenerate the chart and return it as the actionresult.

Here's a basic example of the controller action:

http://www.myblogon.net/archive/2009/02/15/21.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜