Hi,
I am using DropDownProvider in webdatagrid, I created 2 new rows and modified 2 existing rows. In save button, I am looping all rows and saving in to database. When I clicked the save button on server-side, all dropdowns values are empty and unable to capture selected values. Can you help me on this.
Hello InfraOracle,
Thank you for contacting Infragistics!We received your support request concerning selected value of the DropDownProvider disappearing, and this case has been assigned to me. Infragistics is dedicated to helping you solve this issue. Our team and I have done an initial review of your case and I am looking into this matter and will get back to you by the end of the day tomorrow with more information or questions for you.
Sincerely,Mike P.Developer Support EngineerInfragistics, Inc.www.infragistics.com
Thank you for your patience. I have done some looking into this matter and I have been unable to reproduce this issue. When I check the values of the columns that have the dropdown providers they have the correct value that was selected from the dropdown before the save button was clicked. I am attaching my sample to demonstrate this, please note I removed the is_res folder so the size was small enough to be attached to the forums. In the sample the dropdown is in the second column. You can add and edit rows/cells. When done modifying click the button and the values in the second column will be output to the text box. When you run the sample do you see the same behavior? What differences are there between my sample and what you are doing?
Please let me know if you have any questions concerning this matter.
Hi, Thank you for your example. I missed it to mention DropDownItemBinding inside the Editor control. It is working for me.
<DropDownItemBinding TextField="Name" ValueField="ID" />