More in this section

Forums / General Discussions / Populate a Combo Box

Populate a Combo Box

2 posts, 0 answered
  1. Ilaria
    Ilaria avatar
    25 posts
    Registered:
    20 Jan 2011
    24 Jan 2011
    Link to this post
    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
  2. Ivan Pelovski
    Ivan Pelovski avatar
    43 posts
    Registered:
    24 Sep 2012
    25 Jan 2011
    Link to this post
    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
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered