Results 1 to 5 of 5

Thread: Page Load event firing twice??[RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075

    Page Load event firing twice??[RESOLVED]

    I have this code in my CodeBehindPage in the Page_Load event to populate my DropDownList, but it populates the DropDown twice. I debugged and it does indeed go through the code twice. Anyone come across this issue? Any solutions?

    If Not Me.IsPostBack() Then
    Me.DropDownList1.Items.Add(New ListItem("WEBDDEVL1"))
    Me.DropDownList1.Items.Add(New ListItem("WEBDDEVL2"))
    Me.DropDownList1.Items.Add(New ListItem("WEBDDEVL3"))
    End If
    Last edited by EyeTalion; Nov 12th, 2002 at 02:07 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