法1 AspNet.ScriptManager.jQuery.DLL下載 下載完後再專案的參考機入此DLL即可 法2 不推薦,會有功能失效 Web.config <appSettings> <add key=" asp net :UseTaskFriendlySynchronizationContext" value="true" /> <add key="ValidationSettings:UnobtrusiveValidationMode" value="WebForms" /> </appSettings> 刪除紅色字體那行 若無此行可增加以下內容 <appSettings> <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" /> </appSettings>