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

[Solved] Rad Grid Pager Z-Index

1 Answer 203 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Nate
Top achievements
Rank 1
Nate asked on 07 Dec 2009, 04:43 PM
So I  have a rad grid inside a modal rad dock with z-index of 9001 to cover a rad menu.  Basically I am trying to figure out how to set the z-index of the page size drop down so it doesn't appear behind the rad dock.
Any Ideas??

Thx,

Nate

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 08 Dec 2009, 07:34 AM
Hello Nate,

Here is the code that I tried to set the z-index for PageSizeComboBox.

CS:
 
    protected void RadGrid1_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e) 
    { 
        if (e.Item is GridPagerItem) 
        { 
            GridPagerItem pagerItem = (GridPagerItem)e.Item; 
            RadComboBox pageCombo = (RadComboBox)pagerItem.FindControl("PageSizeComboBox"); 
            pageCombo.Style.Add("z-index""9100"); 
        } 
    } 

-Shinu.
Tags
Grid
Asked by
Nate
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or