Analytics

2010年9月7日 星期二

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


問題

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

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



解決方法

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





沒有留言:

熱門文章