开发者

Calling Page Methods of UserControl/Page using MSAJax

开发者 https://www.devze.com 2022-12-26 00:06 出处:网络
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.

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

精彩评论

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