Results 1 to 4 of 4

Thread: WebControl Not declared... but it is? [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2003
    Posts
    1,005

    Resolved WebControl Not declared... but it is? [RESOLVED]

    Okay what's with this....

    I added the DropDownList from the Web Controls toolbox and put it on my Webform1

    I try to use code dropdownlist1.SelectedIndex = 1

    But I get an error DropdownList1 is not declared.

    I put it on the form and the html code shows that it is there.

    What is wrong here?

    I've got System.Web in my reference section of my solution.

    Any ideas.. i am sure it's an easy answer.

    Thanks
    Last edited by epixelman; Jun 13th, 2005 at 05:28 AM.

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