1 当一个控件放在updatepanne外时,如果依然要用ajax的功能的话,可以这样搞,
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Me.ScriptManager1.RegisterAsyncPostBackControl(Me.Button1)
End Sub
即用代码的方式注册这个控件
2 updatepanel 的updatemode属性设置
比如
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Me.ScriptManager1.RegisterAsyncPostBackControl(Me.Button1)
End Sub
即用代码的方式注册这个控件
2 updatepanel 的updatemode属性设置
比如
转载于:http://blog.itpub.net/12639172/viewspace-330998/