So I have pretty strange issue with the paging control of one of my grids. It will almost always be at the bottom of their screen, but for some reason when the page is built, and the relative radgrid IS at the lowest visible element, the dropdown would not expand up instead of down. So I followed another post I found on here to do this:
This seemed to work, but then the dropdown height was 0, with only its borders rendering above the clickable area of the paging control. So then I used my little CssClass and wrote:
This seemed to do the trick, but the height is still rendering at 0 pixels in ie8, and I am assuming for ie7 also. I need to get this to work for both IE7 and IE8. The attached screenshot is IE8. Thats also what it looked like in modern browsers before the CssRule took affect, but doesn't seem to work for IE7 and 8.
protected void UploadReportGrid_ItemCreated(object sender, GridItemEventArgs e) { // there is an issue with the paging RadComboBox drop down direction in the uploaded reports grid. // it apparently cannot determine that it is at the bottom of the screen like normal so we make // the drop down expand up hard coded. if (e.Item is GridPagerItem) { GridPagerItem pagerItem = e.Item as GridPagerItem; RadComboBox combo = pagerItem.FindControl("PageSizeComboBox") as RadComboBox; combo.EnableScreenBoundaryDetection = false; combo.ExpandDirection = RadComboBoxExpandDirection.Up; combo.DropDownCssClass = "UploadReportGrid_PagerDropDown"; } }This seemed to work, but then the dropdown height was 0, with only its borders rendering above the clickable area of the paging control. So then I used my little CssClass and wrote:
div.UploadReportGrid_PagerDropDown .rcbScroll { height: auto !important;}This seemed to do the trick, but the height is still rendering at 0 pixels in ie8, and I am assuming for ie7 also. I need to get this to work for both IE7 and IE8. The attached screenshot is IE8. Thats also what it looked like in modern browsers before the CssRule took affect, but doesn't seem to work for IE7 and 8.
