阅读背景:

如何将aspx webform上的所有控件转换为只读等效项

来源:互联网 

Has anyone ever written a function that can convert all of the controls on an aspx page into a read only version? For example, if UserDetails.aspx is used to edit and save a users information, if someone with inappropriate permissions enter the page, I would like to render it as read-only. So, most controls would be converted to labels, loaded with the corresponding data from the editable original control.Has anyone ever written a function that can con




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: