阅读背景:

如何禁用/覆盖命名容器的内容页面控件ID的ID生成

来源:互联网 

We have an existing ASP.Net web application which we want to convert into using masterpages. In the process of doing this, I found that the HTML id's generated for the HTML elements are prefixed with the ContentPlaceHolder's id. And this is what can be expected when we set the ContentPlaceHolder's clientidmode=static. Now since we have a lot of existing client side scripts that make use of the id's, this part breaks when we use masterpages, and it is quite a big job to run through all our javascript to make sure we call the javascript using Control.ClientID, as a lot of it is hardcoded.We have an existing ASP.Net web application whi




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

分享到: