Results 1 to 4 of 4

Thread: IsPostBack problem (solved)

Threaded View

  1. #1

    Thread Starter
    Addicted Member nickname's Avatar
    Join Date
    Sep 2004
    Location
    Europe - Belgium
    Posts
    170

    Resolved IsPostBack problem (solved)

    Hello..

    asked this question in a few other threads, but to be sure, I created a new thread..

    I'm using following code to run only once (when page is opened):

    Code:
    Protected Sub Page_Load.....
    
            If Page.IsPostBack = False Then
    
                Me.txtTest.Visible = True
                Me.txtTest.Text = "test"
    
            End If
    
    End Sub
    The proplem is that when the page opens, it wont work.. Only when I press a button, and it opens the window for the second time, it will work..

    Someone a solution fot this problem? I hope so..

    tnx in advance!

    nickname
    Last edited by nickname; May 23rd, 2005 at 01:57 AM.
    Software Engineer
    DBA
    Webdesigner
    --
    to code or to be coded, that's the question

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width