RadComboBox in a RadWindows ContentTemplate

2 posts, 0 answers
  1. Karl Maynard
    Karl Maynard avatar
    19 posts
    Member since:
    Apr 2005

    Posted 05 Jun 2012 Link to this post

    I have a rad combobox in a user control that is rendered inside the content template of a RadWindow....

    <telerik:RadWindow ID="popupWindow" VisibleOnPageLoad="false" runat="server">
            <!-- Add Any UserControls For Server Side Show/Hide here. -->
            <uc:CaseFlags runat="server" ID="ucCaseFlags" Visible="false" />

    Initially, when i click in the area for the rad combobox the drop down appeared behind the radwindow, so i added a high value ZIndex value, and now it appears in the correct location.

        <telerik:RadComboBox ID="comboFlags" runat="server" Height="140px" Width="200px" ZIndex="10000">

    However, if you open the drop down, then move the rad window the drop down part of the rad combobox doesnt remain inside the rad window ...

    You can see an example of the result in the attached screen capture.

    Is there a fix/work around to fix this problem....
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 05 Jun 2012 Link to this post

    Hi Karl Maynard,

    In this case you could close the drop down manually on the client-side DragStart event of the RadWindow as follows.

    <script type="text/javascript">
        function OnClientDragStart(sender,args)
            var comboBox =  $find("<%= RadComboBox1.ClientID %>");

    Hope this helps.

Back to Top