ListBox SelectedValue no longer set after sort

Posted by: c.freiwald on 4 March 2020, 12:58 pm EST

    • Post Options:
    • Link

    Posted 4 March 2020, 12:58 pm EST

    Listbox upgraded from V2.0 to 4.5.2.

    Control is bound to a dataset

    SelectedValueChanged event is used to populate another listbox based on SelectedValue of the list.

    SelectedValue property filled in as expected after a column sort in V2.0

    In 4.5.2 SelectedValue Property now contains “Nothing” after sorting by anything other than the first visible column in the list.

    Can someone please tell me what’s changed since V2?

  • Posted 5 March 2020, 5:04 am EST

    Hello Cliff,

    As per your comments “SelectedValueChanged event is used to populate another Listbox based on SelectedValue of the list.” it seems that you are using some custom sample and to replicate the change in behavior at our end we need a stripped-down sample of your application with all the steps that need to follow to replicate the issue.

    >>Can someone please tell me what’s changed since V2?

    You can go through this link to get all the changes that have been made so far in the different build versions:

    https://www.grapecity.com/componentone/docs/win/online-releasehistory/studioforwinformsreleasehistory.html

    Regards,

    Prabhat Sharma.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels