maximized windows cause problems with radsplitbutton

3 posts, 1 answers
  1. Sandro Cavazzoni
    Sandro Cavazzoni avatar
    5 posts
    Member since:
    Apr 2010

    Posted 26 May 2010 Link to this post

    I'm experiencing an issue in windows with contenttemplate and inside a toolbar with toolbarsplitbutton.
    Normally the control work fine but if I maximize the window i cannot expand anymore the splitbutton

    This is my implementation
        <telerik:RadWindow ID="RadWindow1" runat="server" CssClass="RadWindow" 
            Behaviors="Resize, Maximize, Move" Height="400px" Modal="True"   
            VisibleStatusbar="False" Width="600px" VisibleOnPageLoad="True"   
            Title="Seleziona Agenzia / Sito">  
            <ContentTemplate> 
                <telerik:RadToolBar ID="RadToolBar1" runat="server" Width="100%">  
                    <Items> 
                        <telerik:RadToolBarButton runat="server" Text="Aggiorna"   
                            ImageUrl="~/images/refresh.png" AllowSelfUnCheck="True" Value="refresh">  
                        </telerik:RadToolBarButton> 
                        <telerik:RadToolBarButton IsSeparator="True" /> 
                        <telerik:RadToolBarSplitButton ID="ComboSearch" runat="server">  
                            <Buttons> 
                                <telerik:RadToolBarButton runat="server" Text="Cerca in 'Nomi e note'" /> 
                                <telerik:RadToolBarButton runat="server" Text="Cerca in 'Nome cliente'" /> 
                                <telerik:RadToolBarButton runat="server" Text="Cerca in 'Nome agenzia'" /> 
                                <telerik:RadToolBarButton runat="server" Text="Cerca in 'Indirizzo'" /> 
                                <telerik:RadToolBarButton runat="server" Text="Cerca in 'Cap'" /> 
                                <telerik:RadToolBarButton runat="server" Text="Cerca in 'Città'" /> 
                                <telerik:RadToolBarButton runat="server" Text="Cerca in 'Provincia'" /> 
                                <telerik:RadToolBarButton runat="server" Text="Cerca in 'Note'" /> 
                            </Buttons> 
                        </telerik:RadToolBarSplitButton> 
                        <telerik:RadToolBarButton Value="TemplateSearch">  
                        <ItemTemplate> 
                            <asp:TextBox ID="TextboxSearch" runat="server" Width="150px" /> 
                        </ItemTemplate> 
                        </telerik:RadToolBarButton> 
                        <telerik:RadToolBarButton runat="server" ImageUrl="~/Images/search.png" Value="search">  
                        </telerik:RadToolBarButton> 
                    </Items> 
                </telerik:RadToolBar> 
                <telerik:RadGrid ID="RadGrid1" runat="server" Width="100%"   
                    AutoGenerateColumns="False" DataSourceID="SqlDataSourceCustomers"   
                    GridLines="None">  
                    <!-- my grid implementation --> 
                </telerik:RadGrid> 
            </ContentTemplate> 
        </telerik:RadWindow> 

    Any suggestion about that?

    Best regards

    Sandro Cavazzoni
  2. Answer
    Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 31 May 2010 Link to this post

    Hi Sandro Cavazzoni,

    I built up a test demo based on your code and as far as I understand and see from my demo the problem is that the dropdown is shown below the maximized RadWindow. This happens because the maximized RadWindow gets a very big z-index by design in order to be shown above everything on the page.

    I can suggest to manners to get the behavior you desire:

    1) Set ShowOnTopWhenMaximized=false for the RadWindow

    or

    2) Set big z-index to the toolbar, e.g as shown below:

    <ContentTemplate>
              <telerik:RadToolBar ID="RadToolBar1" runat="server" Width="100%" style="z-index: 2000000">
                  <Items>
                      <telerik:RadToolBarButton runat="server" Text="Aggiorna" ImageUrl="~/images/refresh.png"
                          AllowSelfUnCheck="True" Value="refresh">

    I tested both the solutions and they worked on my side. Please, test them on your side and let me know how it goes.

    Greetings,
    Svetlina
    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. Sandro Cavazzoni
    Sandro Cavazzoni avatar
    5 posts
    Member since:
    Apr 2010

    Posted 31 May 2010 Link to this post

    I tested your first solution (ShowOnTopWhenMaximized=false) and it work great.

    Really thanks

    Sandro
Back to Top