More in this section

Forums / Developing with Sitefinity / RadcomboBox in WebUITypeEditor does not expandd

RadcomboBox in WebUITypeEditor does not expandd

3 posts, 0 answered
  1. Giovanni Pulvirenti
    Giovanni Pulvirenti avatar
    11 posts
    24 Nov 2009
    09 Nov 2010
    Link to this post
    Hi all,
    a strange behavior is struggling me in a WebUITypeEditor developing scenario; not a complex one after all..
    I'm writing a Sitefinity custom control that performs some database queries and I need to make the user to be able to select some selection parameters from a simple interface. A custom WebUITypeEditor is the correct choice and I already used it with success.
    Here is the issue. A RadComboBox is filled up in the ASCX file code with 3 RadComboBoxItems. The code used to do that is the following:
    <%@ Control Language="VB" AutoEventWireup="false" CodeFile="Websoft_Hway_Sitefinity_PQueriesProperties.ascx.vb"
        Inherits="UserControls_Hway_PropertiesTypedEditors_Websoft_Hway_Sitefinity_PQueriesProperties" %>
    <div id="divQList" runat="server"><br />
        <asp:Label ID="labelFilterBy" runat="server" Text="Filtro per:" />
        <telerik:RadComboBox ID="radcomboQList" runat="server"
            EmptyMessage="nessun filtro" Height="300px">
                <telerik:RadComboBoxItem runat="server" Text=" per marca" Value=" per marca" />
                <telerik:RadComboBoxItem runat="server" Text="per intervallo di prezzo" Value="per intervallo di prezzo" />
                <telerik:RadComboBoxItem runat="server" Text="per linee" Value="per linee" />

    At this point, from the Properties Panel of our custom control, the WebUITypeEditor is correctly loaded and every control inside it plays very well; every single control except the RadComboBox one, because it does not expand the list, even if the items are correctly loaded in. In fact, if it has focus, you can cycle the items using the keyboard bottom arrow, but the SelectedIndexChanged event is never fired.
    In the past, I used a simple workaround: I did not use any RadComboBox inside a custom WebUITypeEditor, substituting it with a radio or check list control.
    Actually there is no server side code associated with the ASCX file that implements the custom WebUITypeEditor.

    I think I need some suggestions :-)

    Thanks in advance,
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    11 Nov 2010
    Link to this post
    Hello Giovanni Pulvirenti,

    Thank you for using our services.

    Unfortunately this is an issue with RadCombox, RadWindow and the WebUITypeEditors. We have not been able to resolve it yet. You will have to use drop down list instead. You can find a thread with similar discussion here.

    Best wishes,
    Radoslav Georgiev
    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
  3. Giovanni Pulvirenti
    Giovanni Pulvirenti avatar
    11 posts
    24 Nov 2009
    12 Nov 2010
    Link to this post
    Thank you very much for your answer.
    I didn't find this thread even if I've looked for it, sorry. I'll try to use the drop down list, instead.


Register for webinar
3 posts, 0 answered