有没有办法在UpdatePanel1.Update()
内执行Shared Sub
?
收到错误:Cannot refer to an instance member of a class from within a shared sub ..
<WebMethod()> _
Public Shared Sub DoSomeStuff(ByVal Param1 As String)
// do some stuff and then update the updatepanel
UpdatePanel1.Update() // not a valid code
End Sub
任何建议都非常感谢。