Results 1 to 4 of 4

Thread: Initial Value in dropdown box ** SOLVED **

  1. #1

    Thread Starter
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092

    Initial Value in dropdown box ** SOLVED **

    Hopefully this is a very simple problem to solve, just that i'm not sure how to it....

    How do you have an initial value in a dropdownbox, something like "Please Select Title" , rather than just the first record of the boxes datesource?

    Cheers,

    ~Tom.
    Last edited by Fishcake; Sep 25th, 2003 at 06:47 AM.

  2. #2
    Junior Member eeeks's Avatar
    Join Date
    Oct 2001
    Location
    CA
    Posts
    17
    You can insert a value into the dropownlist's 0th value.....

    <list>.Items.Insert(0, New ListItem("blah blah blah", "0"))

  3. #3

    Thread Starter
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092
    Thanks i'll give that a go

  4. #4

    Thread Starter
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092
    that worked fine, thanks

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