Populate a Combo Box
Hello,
i create a new solution and I add to the Homepage a Combo Box (dragged from the RadControls menu).
I need to know how to add items to the control.. is it possible only from code? in that case, where can I find the control inside the Visual studio Solution Explorer?
Thanks
Ilaria
Hi Ilaria,
When you add a control to a page from the page editor, then this control is persisted in the data base. You cannot access it inside the Visual Studio. If you want to add items to a ComboBox then you can use one of the available data sources in the Toolbox from the right. Drop a Data widget to the page, configure it and then set its ID to the DataSourceID property of the ComboBox. For more information, please visit our online documentation http://www.sitefinity.com/4.0/documentation/User-guide/displaying-content-using-widgets.aspx
Kind regards,
Ivan Pelovski
the Telerik team