listbox -After save i want to keep saved data as selected inside list box while edit mode
Listbox edit mode save data as selected
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
listbox -After save i want to keep saved data as selected inside list box while edit mode
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sachin SinghRank #66 · 26.2K reputationPosted Mar 2, 2023, 2:48 AM EST
On edit click get the selected value from db and set it to the listbox as
listBox1.SelectedItem = "One of your value";Jignesh KumarRank #91 · 22.9K reputationPosted Mar 2, 2023, 2:50 AM EST
Helo Lejo,
If you are using MVC then please refer this link,
https://supportcenter.devexpress.com/ticket/details/t995296/bind-listbox-with-multiple-selected-values-in-edit-mode-in-asp-net-mvc