Posted 29 November 2017, 11:53 pm EST
I have a dropdown form which consists of flefx grid which is bounded to datatable.
There is also one extra column of type Bool which user uses to check/uncheck certain choices.
So, when user clicks choices in check enabled column, value property of control is set to IDs of checked rows, and text property of control is set to Codes of checked rows. OwnerControl.Value Should always be filled with string containing only numbers (IDS) separated by “|” separator.
That worked till recently. Now, the value property sometimes contains Codes and not IDs and that is my problem because I use value property as parameter to get data from the database.
I made an example and attached two images where you can see output of Value property.
Run the project, click 4 times on C1dropdowncontrol button and check TextBox text which display Value property of C1Dropdowncontrol.
Can You please check my code and tell me what is wrong or create one example yourself to show how to achieve what I need.
I use C1Winforms version 4.0.20172.271.
This project references:
C1.win.4
C1.win.C1Command.4
C1.win.C1FlexGrid.4
C1.Win.C1Input.4
C1.win.C1Themes.4
Thank You,
Hrvoje
WFADropDownForm.zipALL - 4 times click on button dropdown.zip