Analytics

2010年9月7日 星期二

[VISUAL STUDIO]解決 System.Web.UI.Page.RegisterArrayDeclaration(string, string)' is obsolete: 'The recommended alternative is ClientScript.RegisterArrayDeclaration(string arrayName, string arrayValue). http://go.microsoft.com/fwlink/?linkid=14202'


問題

Upgrade .net framework to 3.5 When Bulid Project maybe will see like this

System.Web.UI.Page.RegisterArrayDeclaration(string, string)' is obsolete: 'The recommended alternative is ClientScript.RegisterArrayDeclaration(string arrayName, string arrayValue). http://go.microsoft.com/fwlink/?linkid=14202'



解決方法

Resolve Way is change code
Page.RegisterArrayDeclaration
TO
Page.ClientScript.RegisterArrayDeclaration

沒有留言:

熱門文章