Nov 03, 2014, 11:40 AM
[CLOSED] Ext Combobox - Selected value changed from code behind on postback event is not reflected on the UI
I have an Ext.Net combobox. I am using version 2 of Ext.Net and v4.0 of .Net
On a particular event, I am setting its value from javascript.
The same issue occurs if I change the value from UI and then try to set it from code behind on post back event.
Please assist me.
On a particular event, I am setting its value from javascript.
Ext.getCmp('ddlCountryOfRisk_ddl').store.clearFilter();
Ext.getCmp('ddlCountryOfRisk_ddl').store.load();
Ext.getCmp('ddlCountryOfRisk_ddl').clearValue();
Ext.getCmp('ddlCountryOfRisk_ddl').setValue(cntry);
Ext.getCmp('ddlCountryOfRisk_ddl').readOnly = true;
Now if I am trying to change the selected value from the code behind on a postback event, this changed value is not showing back on the UI.
ddlCountryOfRisk.ReadOnly = false;
ddlCountryOfRisk.SelectedValue = value;
The same issue occurs if I change the value from UI and then try to set it from code behind on post back event.
Please assist me.
Last edited by Daniil; Nov 11, 2014 at 5:40 PM.
Reason: [CLOSED]