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
  1. Home
  2. Web Development
  3. ASP.NET
  4. DropDownList problem

DropDownList problem

Scheduled Pinned Locked Moved ASP.NET
helptutorialquestion
3 Posts 2 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.
  • W Offline
    W Offline
    waddie1
    wrote on last edited by
    #1

    Hi all I have a dropdownlist on my page but it is always showing the value rather than the text. For example: Filter 1 This will produce the dropdownlist but the text shown will be 1 rather that filter 1 :confused:. This happens when the listitem is declared as follows as well: Any ideas on why this is happening?? The project that this page is part of uses nested master pages if this sheds anymore light. Thanks in advance.

    S 1 Reply Last reply
    0
    • W waddie1

      Hi all I have a dropdownlist on my page but it is always showing the value rather than the text. For example: Filter 1 This will produce the dropdownlist but the text shown will be 1 rather that filter 1 :confused:. This happens when the listitem is declared as follows as well: Any ideas on why this is happening?? The project that this page is part of uses nested master pages if this sheds anymore light. Thanks in advance.

      S Offline
      S Offline
      sdaniel_cst
      wrote on last edited by
      #2

      Hi,, I tried with the same coding in a new web page and it showed "Filter 1" correctly, rather than "1" as u mentioned... Regards..

      sdaniel_cst

      W 1 Reply Last reply
      0
      • S sdaniel_cst

        Hi,, I tried with the same coding in a new web page and it showed "Filter 1" correctly, rather than "1" as u mentioned... Regards..

        sdaniel_cst

        W Offline
        W Offline
        waddie1
        wrote on last edited by
        #3

        Cheers for the reply I have also tried with the same code in a new project now and it works. Suppose this project is just being funny with me :mad: thanks again

        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