Skip to Content
avatar image
Former Member

problem with dropdownbyindex

hii,

I have a dropdownbyIndex in which there is a list of name of countries populated.Whenever i choose a value from the list and save it, next time that value is not being displayed,instead blank space is displayed.Why is this happening?...

I need the solution very fast.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 24, 2008 at 10:18 AM

    Hi,

    I have a dropdownbyIndex in which there is a list of name of countries populated?

    Is this populated by code by you?

    If the answer is yes make sure that the leadselection points to the right element.

    Regards

    Ayyapparaj

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      What I saw in your code is that you are trying to set the values to a simple type. If you are accessing the values from a simple type then use dropdownbykey instead of dropdownbyindex.

      In case you are planning to use directly dropdownbyindex then bind your landx attribute to the texts property of the dropdownbyindex.

      Regards,

      Murtuza

  • avatar image
    Former Member
    Sep 24, 2008 at 10:21 AM

    Hi,

    You just need to set the leadselection to the selected element.

    Thanks & Regards,

    Jhansi Miryala

    Add comment
    10|10000 characters needed characters exceeded