Global.asax 檔案的 Application_Start() 事件裡加入語法
GlobalConfiguration.Configuration.Formatters.XmlFormatter.SupportedMediaTypes.Clear()
感謝保哥教學。
在執行UpdatePanel之後,如果需要出現對話視窗傳送訊息,可以利用這一段。
Dim jv As String = "alert('Hello');" ScriptManager.RegisterClientScriptBlock(myControl, myControl.[GetType](), "msg", jv, True)