Click here to Skip to main content
16,004,778 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I getting an error code because the Combox value is null. How to fix

C#
AddIntSettingInfoWithStringControl(Shared.Settings.Customer.ApplicationSettings.Global.FormToShowLTLDispatch,
                                                  () => FormToShowLTLDispatchComboBox.SelectedValue,
                                                  v => FormToShowLTLDispatchComboBox.SelectedValue = v.ToString(CultureInfo.InvariantCulture),
                                                  () => (!DisableShipmentDetailFormRadioButton.Checked &&
                                                         !IntegrateShipmentDetailSsrsRadioButton.Checked &&
                                                         !IntegrateShipmentDetailRadioButton.Checked &&
                                                         !IntegrateLTLDispatchSsrsRadioButton.Checked));
Posted

1 solution

Hai
just use comboxvalue="" ,just use double quotes after combox value selected.


Regards
ARavind
 
Share this answer
 
Comments
postonoh 20-Feb-14 0:00am    
Did not work. Thanks I believe now the problem is with one of the controls I have set thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900