Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. setting the number of items in a drop down list

setting the number of items in a drop down list

Scheduled Pinned Locked Moved ASP.NET
helpdatabasejson
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bangbangbogi
    wrote on last edited by
    #1

    Hi I need some help with the drop down list in Visual Web Developer 2005. My problem is as such: 1.) I have a total of 50 categories in my DB. 2.) When I use a drop down list , it displays all 50 entries at once. I want to limit the number of displayed entries to 10, so that the user will have to scroll down to view the rest. Plus the fact that the 50 entries practically covers up 1/4 of the screen. Please help. Thank You.

    C V 2 Replies Last reply
    0
    • B bangbangbogi

      Hi I need some help with the drop down list in Visual Web Developer 2005. My problem is as such: 1.) I have a total of 50 categories in my DB. 2.) When I use a drop down list , it displays all 50 entries at once. I want to limit the number of displayed entries to 10, so that the user will have to scroll down to view the rest. Plus the fact that the 50 entries practically covers up 1/4 of the screen. Please help. Thank You.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      You could try writing your own control that shows a scrolling div, I guess.

      Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      B 1 Reply Last reply
      0
      • C Christian Graus

        You could try writing your own control that shows a scrolling div, I guess.

        Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        B Offline
        B Offline
        bangbangbogi
        wrote on last edited by
        #3

        That's what I thought too, but I dun really have a idea of how to do it.

        C 1 Reply Last reply
        0
        • B bangbangbogi

          That's what I thought too, but I dun really have a idea of how to do it.

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Yeah, it's a bit of work. You'd need to have the div, toggle if it was shown by a click, then set your textbox text based on a selection.

          Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

          1 Reply Last reply
          0
          • B bangbangbogi

            Hi I need some help with the drop down list in Visual Web Developer 2005. My problem is as such: 1.) I have a total of 50 categories in my DB. 2.) When I use a drop down list , it displays all 50 entries at once. I want to limit the number of displayed entries to 10, so that the user will have to scroll down to view the rest. Plus the fact that the 50 entries practically covers up 1/4 of the screen. Please help. Thank You.

            V Offline
            V Offline
            Vinay Dornala
            wrote on last edited by
            #5

            http://aspalliance.com/541\_Multiple\_Column\_DropDown\_Box\_for\_ASPNET see this link i hope this will help u.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups