开发者

Calling Page Methods of UserControl/Page using MSAJax

Is i开发者_开发问答t possible to call usercontrol methods/events using MSAJAX. I wanted to update my usercontrol by calling one of its events when a property from its parent page changes.

Thanks


No.

PageMethods are static thus have no access to instance members such as UserControls.

You might try using an update panel but as written it seems you may have a crisis of design.

Good luck.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜