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

DropDownList

Scheduled Pinned Locked Moved ASP.NET
question
3 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.
  • U Offline
    U Offline
    User 11127370
    wrote on last edited by
    #1

    HI, I want to ask a question regarding DropDownList. This is the code:- +54 Argentina +93 Afganistan +91 India +61 Austrila +91 India +32 Belgium +91 India +53 Brazil +359 Bulgaria +86 China +299 GreenLand +33 France +49 Germany +852 HongKong +52 Mexico So, I want if user select +33 France from DropDownList then in DropDownList it should display +33 FR instead of this full name +33 France which is mention in DropDownList???So,is it possible??? How can I achieve this???

    L J 2 Replies Last reply
    0
    • U User 11127370

      HI, I want to ask a question regarding DropDownList. This is the code:- +54 Argentina +93 Afganistan +91 India +61 Austrila +91 India +32 Belgium +91 India +53 Brazil +359 Bulgaria +86 China +299 GreenLand +33 France +49 Germany +852 HongKong +52 Mexico So, I want if user select +33 France from DropDownList then in DropDownList it should display +33 FR instead of this full name +33 France which is mention in DropDownList???So,is it possible??? How can I achieve this???

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You can see DisplayText set to your control here it is "+33 France" and what you have selected. However, you can have different Value returned for your selection you made. If you want to see the different text before and after selection for the same control you can't.

      1 Reply Last reply
      0
      • U User 11127370

        HI, I want to ask a question regarding DropDownList. This is the code:- +54 Argentina +93 Afganistan +91 India +61 Austrila +91 India +32 Belgium +91 India +53 Brazil +359 Bulgaria +86 China +299 GreenLand +33 France +49 Germany +852 HongKong +52 Mexico So, I want if user select +33 France from DropDownList then in DropDownList it should display +33 FR instead of this full name +33 France which is mention in DropDownList???So,is it possible??? How can I achieve this???

        J Offline
        J Offline
        John C Rayan
        wrote on last edited by
        #3

        What you are trying to do is not a good practice. Why do you want to change the dropdown list after user selected it. Are you making things harder while there might an easier solution for you actually need ???

        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