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

RadGrid paging display problem on Android devices

2 Answers 135 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Melissa Burpo
Top achievements
Rank 1
Melissa Burpo asked on 03 Feb 2014, 05:58 PM
We have a RadGrid that displays search results, and paging is enabled on the grid. This inserts a RadComboBox into the grid, where users can use a dropdown to select their preferred page size. The width of this RadComboBox displays ok in most browsers and on most devices (screenshot attached), except for Androids (another screenshot attached). I think what happens is that an inline style is added to the RadComboBox containing div when it's rendered, based on the width of the dropdown contents, and this inline style is ignored on Androids. Here's what the rendered HTML looks like for the relevant RadComboBox div:

<div id="ctl00_TemplateBody_WebPartManager1_gwpciEventList_ciEventList_lstSearchResults_Grid1_ctl00_ctl02_ctl00_PageSizeComboBox" class="RadComboBox RadComboBox_MetroTouch" style="width:62px;">

The width that is generated for this div is ignored on Androids - it displays much wider than the contents.  

Anyone else have this problem or have any ideas how to fix it?

2 Answers, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 06 Feb 2014, 10:23 AM
Hello,

Indeed it looks like there is a problem with the width of the combobox but in order to further investigate the issue, it will be helpful if you can send us a sample runnable page that replicates it so we can check it on our side and let you know how you can resolve the problem.
I also tried to replicate the issue on one of our demos with paging but to no avail. Let me know if you are able to reproduce the problem there or if a specific configuration of the grid is required.

Kind Regards,
Marin
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
0
Melissa Burpo
Top achievements
Rank 1
answered on 06 Feb 2014, 03:24 PM
Thanks for your response Marin. We were also not able to replicate the problem using your demo site. We will look into the configuration of our grid. If we find anything relevant, I'll get back to you. 
Tags
Grid
Asked by
Melissa Burpo
Top achievements
Rank 1
Answers by
Marin
Telerik team
Melissa Burpo
Top achievements
Rank 1
Share this question
or