This is a migrated thread and some comments may be shown as answers.

maximized windows cause problems with radsplitbutton

2 Answers 48 Views
Window
This is a migrated thread and some comments may be shown as answers.
Sandro Cavazzoni
Top achievements
Rank 1
Sandro Cavazzoni asked on 26 May 2010, 04:12 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Svetlina Anati
Telerik team
answered on 31 May 2010, 10:33 AM
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.
0
Sandro Cavazzoni
Top achievements
Rank 1
answered on 31 May 2010, 11:02 AM
I tested your first solution (ShowOnTopWhenMaximized=false) and it work great.

Really thanks

Sandro
Tags
Window
Asked by
Sandro Cavazzoni
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Sandro Cavazzoni
Top achievements
Rank 1
Share this question
or