阅读背景:

同一ASP.NET用户的多个实例控制Javascript名称冲突

来源:互联网 

Problem: I have a user control (.ascx) with a ton of javascript code in there. I have two instances of the user control on the same page. When the code runs the two user controls behave erratically because all the js objects with the same name can only have one value (including functions). The javascript is in the code behind and it is registered via "ScriptManager.RegisterStartupScript(.....)". I have a user control (.ascx) with a t




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

分享到: