The combo boxes are attached to the stored procedures which get the data from the database. But they still do not seem to get initialized. In WinForms I guess we have to force the loading or initialization, what is the code for this. Thanks in advance.
3 Answers, 1 is accepted
0
Peter
Telerik team
answered on 27 Aug 2012, 02:51 PM
Hello Jeffrey,
Thank you for contacting Telerik support.
Please, refer to this MSDN forum thread that demonstrates how to bind the ComboBox to a stored procedure. In short you need to set these three properties: DataSource, ValueMember, and DisplayMember. For more information please read How to: Bind Data to RadControls for WinForms article.
I hope this helps. Regards,
Peter
the Telerik team
How can refresh when the underlying stored procedure has been modified. Have had to make new data sources and then delete the old ones which is a pain in WinForm application.
0
Peter
Telerik team
answered on 03 Sep 2012, 08:38 AM
Hello Jeffrey,
Thank you for writing back.
If the source supports the IBindingList interface, the source will automatically update the control. Otherwise you should set the DataSource property to null and set again its value in order to update the control.