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

[Solved] Toolbar pane overlays grid filter menu

1 Answer 139 Views
Grid
This is a migrated thread and some comments may be shown as answers.
ARUN
Top achievements
Rank 1
ARUN asked on 21 Jul 2009, 06:53 AM
Hi, 
I want to make sure that filter menu of search results overlays toolbar pane. When I click at the filter, the top most menu items are getting chopped (i.e not coming at its correct position but above the filter button). I want to know, how can I reposition the filter menu to its correct position, (i.e right next to filter button when I click it).

 

<

 

Rad:BackPanel ID="bpContent" runat="server" Width="100%" Height="0px" Header="Search Results"

 

 

style="position:absolute;" OnClientLoad="OnBPLoad" OnPaneResize="OnBPResize" >div id="divContentMain" style="position:absolute; width:100%; height:50px; top:34px; left:0px;" runat="server">

 

 

 

 

 

 

<rad:RadGrid ID="RadGridResults" runat="server" Style="position: absolute; left: 0px; top: 0px;" ShowStatusBar="true"><ClientSettings>

 

 

<ClientEvents OnGridCreated="GridCreated" OnRowDblClick="OnGridRowDblClick" OnColumnResized="ColumnResize" />
</ClientSettings>
<ExportSettings IgnorePaging="true" OpenInNewWindow="true" ExportOnlyData="true" />

 

 

 

</rad:RadGrid>

 

 

 

<asp:Button ID="Button_RadGridResults_ExportToExcel" runat="server" Text="Export to Excel"

 

 

OnClientClick="ExportRadGridResultsToExcel();" />

 

 

<asp:Button ID="Button_RadGridResults_ExportToWord" runat="server" Text="Export to Word"

 

 

OnClientClick="ExportRadGridResultsToWord();" />

 

 

</div>

 

 

</Rad:BackPanel>

 

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 23 Jul 2009, 03:44 PM
Hello ARUN,

How to control the z-index of RadContextMenu (which is embedded as filtering menu in RadGrid) you can see from the following online resources:

http://www.telerik.com/help/aspnet-ajax/controlling-absolute-positioning-with-zindex.html
http://blogs.telerik.com/atanaskorchev/posts/09-07-02/z-index_demystified.aspx

To apply the z-index for the filter menu, consider intercepting the OnInit event of the grid as illustrated here.

Greetings,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
ARUN
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or