Show RadCombox in Grid in Notification

2 posts, 0 answers
  1. lupotana
    lupotana avatar
    73 posts
    Member since:
    Nov 2006

    Posted 23 Nov 2011 Link to this post

    Hi, I've a problem with the visibility of items of a RadCombobox in a grid insert in a Notification.
    When I press click on RadComboBox I see only items that exit from Notification (Attach File).

    This is my Notification
    <telerik:RadNotification ID="RadNotification1" runat="server" ContentIcon="../../Images/Notification/check_48.png"
            Position="Center" AutoCloseDelay="15000" Width="600" Height="250px" Pinned="true"
            EnableRoundedCorners="true" EnableShadow="true" KeepOnMouseOver="true" VisibleTitlebar="true"
            ShowCloseButton="true" Animation="Fade" AnimationDuration="200" Skin="Web20"
            TitleIcon="../../Images/Notification/check_16.png">
            <ContentTemplate>
                <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="false" OnItemDataBound="gvDesignazione_ItemDataBound">
                    <MasterTableView>
                        <Columns>
                            <telerik:GridTemplateColumn>
                                <ItemTemplate>
                                    <%# Eval("INFOBASE")%>
                                </ItemTemplate>
                            </telerik:GridTemplateColumn>
                            <telerik:GridTemplateColumn>
                                <ItemTemplate>
                                    <telerik:RadComboBox ID="ddlDesignazione" runat="server" Skin="Office2010Blue" Width="180px"
                                        ZIndex="1000">
                                    </telerik:RadComboBox>
                                </ItemTemplate>
                            </telerik:GridTemplateColumn>
                        </Columns>
                    </MasterTableView>
                </telerik:RadGrid>
            </ContentTemplate>
        </telerik:RadNotification>

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3595 posts

    Posted 24 Nov 2011 Link to this post

    Hi Lupotana,

    This happens because the dropdown of the RadComboBox is another popup element (with absolute positioning) on the page and thus the z-index rules apply to it. By default the RadNotification has a high z-index (10000) and this is the reason why the dropdown is behind it. A list with the default values and a proposed solution is shown in the following help article: http://www.telerik.com/help/aspnet-ajax/controlling-absolute-positioning-with-zindex.html.


    Kind regards,
    Marin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top