not update GUI when not enabled

I have listbox and 3 radiobutton connected to the item selected on the listbox, normally the 3 radio are not enabled (becouse not want to be edited), when change selection the radiobutton must be updated with listbox item data, this not happen, but if radiobutton are enabled, values change!
all the data on listbox & radiobutton are connected with bindingsource.

where is the trick? i think is not bug

snapshot of GUI attached

thanks


Attachment: 20180117_142909_ec09a83c.zip

5 Replies

KJ Keerthana Jegannathan Syncfusion Team January 18, 2018 12:00 PM UTC

Hi Riccardo, 
 
Thank you for contacting Syncfusion support. 
 
We have checked the reported behavior of RadioButtonAdv by updating the text of it based on the selected item in ListBox in disable state using DataSource, but we were unable to reproduce the reported scenario in our side. Text has been updated for the control in both enabled and disabled state. We have prepared sample and video for your reference and it can be downloaded from the below location. 
 
 
 
Can you check with the above sample and video for the scenario we have checked and let us know if we have misunderstood your query? Also, if possible can you modify the sample which replicates the issue? 
 
Regards, 
Keerthana J 



RI Riccardo January 18, 2018 01:07 PM UTC

Hi, i have attached modified project wich show my problem easily.
when i choose the item and the radiobutton are enabled they are correctly checked, when you disable rabiobutton (with button), if you change item the check are not updated, for me is not correct behaviour

Attachment: WF_RadioButtonAdv_735f52b2.zip


KJ Keerthana Jegannathan Syncfusion Team January 19, 2018 06:38 AM UTC

Hi Riccardo, 
 
Thanks for your update 
 
In your sample, selection of RadioButton is not get updated in disabled state as you mentioned. On further analysis, we noted that you are using “IntValue” property to change the checked state of the control. As this property gets updated only in enabled state, the reported issue occurs. We request you to use the “Checked” property of the RadioButtonAdv control in order to change the selection of RadioButtonAdv in both enabled and disabled state. We have prepared sample in which we have changed the selection of RadioButtonAdv in disabled stated and it can be downloaded from the below location. 
 
 
Regards, 
Keerthana J 



RI Riccardo January 20, 2018 09:16 AM UTC

I not use the 'checked' property becouse i need to update the 'state' of the readiobutton with only 1 integer value, and the 'IntValue' permit this.
As i write the value is bind to the first radiobutton with bindingsouce, the bind value is connected to intvalue and this permit to change the check on all the 3 radiobutton
the solution proposed is not satisfactory, i need change value of a radiobutton by 'group' ,  'intvalue' permit this but not when radiobuttons are disabled


KJ Keerthana Jegannathan Syncfusion Team January 22, 2018 06:37 AM UTC

Hi Riccardo, 
 
Thanks for your update. 
 
We have maintained count property internally and it gets increment in enabled state. As “IntValue” property gets updated based on this count, this property is not updated in disabled state of RadioButtonAdv. Therefore, We would analyze the behavior of IntValue property of the RadioButtonAdv in disabled state and include the necessary changes in our source and it will be included in our Volume 1 SP1 release which will be available by end of February, 2018. 
 
Regards, 
Keerthana J 


Loader.
Up arrow icon