Set web part personalizable property from JavaScript

允我心安 提交于 2019-12-11 00:58:08

问题


I have defined a personalizable property on a web part and I would like to modify its value from JavaScript. Is it possible?


回答1:


You would have to use AJAX to send a message to the server. There's no way to set it from JavaScript without going to the server.

The AJAX could be as simple as a PageMethod call though.



来源:https://stackoverflow.com/questions/286786/set-web-part-personalizable-property-from-javascript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!