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

ModalPopupExtender dynamic user control hosting RadGrid Pager - PageSize DropDown behind Modal Popup

2 Answers 86 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Lakshman
Top achievements
Rank 1
Lakshman asked on 06 Jan 2012, 03:45 PM
Help me on this issue. Drop down of the page size with all values are populating very good but displaying behind of the popup.

Thank you 

2 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 07 Jan 2012, 08:17 AM
Hello,

GridPagerItem pager = (GridPagerItem)e.Item;
         RadComboBox combo = pager.FindControl("PageSizeComboBox") as RadComboBox;
         combo.Style.Add("z-index", "111001 !important"); // set z-index as per your requirement

http://www.telerik.com/community/forums/aspnet-ajax/grid/modalpopupextender-dynamic-user-control-hosting-radgrid-filter-menu-behind-modal-popup.aspx

Thanks,
Jayesh Goyani
0
Lakshman
Top achievements
Rank 1
answered on 10 Jan 2012, 05:41 PM
Thank you very much. Its working good 

  protected void telerikGrid_ItemDataBound(object sender, GridItemEventArgs e)
        {
            if (e.Item is GridPagerItem)
            {
                GridPagerItem pager = (GridPagerItem)e.Item;
                RadComboBox combo = pager.FindControl("PageSizeComboBox") as RadComboBox;
                combo.Style.Add("z-index", "111001 !important");
            }
        }
Tags
General Discussions
Asked by
Lakshman
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Lakshman
Top achievements
Rank 1
Share this question
or