Results 1 to 4 of 4

Thread: Run code on page load only once

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2000
    Location
    Europe, Lithuania
    Posts
    309

    Run code on page load only once

    Hello,

    Then page is loading (Page_Init sub), I fill my combo-box with MySQL database data.
    Then I select item and press command button. Problem is that after postback function is called, Page_init sub is called again and combo box is refilled, so my selected item is canged. How to run code only once, when page is loading?

    Ps. Sorry for my poor english.
    Last edited by Norkis; Feb 11th, 2004 at 01:01 PM.

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