作者 主題: updatepanel.visible=FALSE會有問題?  (閱讀 2824 次)

0 會員 與 1 訪客 正在閱讀本文。

fell0206

  • 活潑的大學生
  • ***
  • 文章數: 339
    • 檢視個人資料
updatepanel.visible=FALSE會有問題?
« 於: 2008-03-20 22:26 »
各位大大,小弟在ASP.NET中用了AJAX的updatepanel,我有一個CLICK事件:
Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
        Timer1.Enabled = False
        Button1.Visible = False
        Button2.Enabled = False
        Button6.Visible = True
        UpdatePanel1.Visible = False

        Panel3.Visible = True
        Image11.ImageUrl = "img\" & Mid(HiddenField2.Value, 1, 1) & ".gif"
        Image12.ImageUrl = "img\" & Mid(HiddenField2.Value, 2, 1) & ".gif"
        Image13.ImageUrl = "img\" & Mid(HiddenField2.Value, 3, 1) & ".gif"
        Image14.ImageUrl = "img\" & Mid(HiddenField2.Value, 4, 1) & ".gif"
        Image15.ImageUrl = "img\" & Mid(HiddenField2.Value, 5, 1) & ".gif"
        Image16.ImageUrl = "img\" & Mid(HiddenField2.Value, 6, 1) & ".gif"
        Image17.ImageUrl = "img\" & Mid(HiddenField2.Value, 7, 1) & ".gif"
        Image18.ImageUrl = "img\" & Mid(HiddenField2.Value, 8, 1) & ".gif"
        Image19.ImageUrl = "img\" & Mid(HiddenField2.Value, 9, 1) & ".gif"
        Image20.ImageUrl = "img\" & Mid(HiddenField2.Value, 10, 1) & ".gif"
        Label1.Text = HiddenField3.Value
        Label4.Text = HiddenField14.Value
    End Sub
會把updatepanel.visible=FALSE,但...一按下後,畫面會一直跳,不會停!不知為何會這樣!請大大指點指點!! Thank you~