Selected option ?

2 posts, 0 answers
  1. Miguel Quina Ribeiro
    Miguel Quina Ribeiro avatar
    1 posts
    Member since:
    May 2018

    Posted 27 Jul Link to this post


    I'm using your Listbox widget and i'm facing this issue:

    Everythime that i use it with data, all the options show up selected.

    <option value="1" selected>Item 1</option>
    <option value="2" selected>Item 2</option>
    <option value="3" selected>Item 3</option>

    Example here:

    When i manually select an option and send that information by POST, in 
    the server side i cant know the option selected.

    Is there any way to solve this problem?

    Thank you
  2. Georgi
    Georgi avatar
    325 posts

    Posted 31 Jul Link to this post

    Hello Miguel,

    Based on the provided information I assume that the issue is that when the ListBox is bound to a dataSource (not initialized from already populated select element) all items are initially selected. Please correct me if I am wrong.

    I have tested the described behavior in the following demo where the widget is bound to a remote data service and initially the items are not selected:

    Could you please provide us with the steps to reproduce the behavior?

    Having said that, sharing a demo that clearly replicates the issue would definitely help us fully understand the case and we will be able to provide further assistance to the best of our knowledge.

    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top