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

Pager Style Problem

4 Answers 82 Views
Grid
This is a migrated thread and some comments may be shown as answers.
rubenhak
Top achievements
Rank 1
rubenhak asked on 10 Nov 2009, 12:11 AM
Hi,

I'm using Telerik.Web.UI version 2009.2.1007.20. But it also happens on a previous version.

When using paging in RadGrid, instead of a page size dropdown I see a text - "Page size: |  20  | select" and when clicking on it it just overlays numbers: 10, 20, 50 and it becomes impossible to select those page numbers. To get a better idea what is the issue please take a look to an screen shot attached.

FYI: I'm using a Office2007 style. 

Thanks,
Ruben.

4 Answers, 1 is accepted

Sort by
0
cognos s
Top achievements
Rank 1
answered on 10 Nov 2009, 01:44 AM
you can probably hide the dropdownlist completely.
0
rubenhak
Top achievements
Rank 1
answered on 10 Nov 2009, 01:45 AM
I don't want to hide it. I just want to see a normal drop down arrow instead of meaningless "select" text :)
0
Pavlina
Telerik team
answered on 10 Nov 2009, 08:48 AM
Hello Ruben,

I followed your scenario in order to replicate the issue but to no avail. Please find attached a simple runnable application which handles the desired functionality and let me know what is the difference in your case.

Regards,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
cognos s
Top achievements
Rank 1
answered on 10 Nov 2009, 01:04 PM

Even in my case the style is getting screwed up only in the application I am working on. It doesn't happen in another application. In case if you give up and want to hide the dropdown here is the code and you have to do this in the Itemcreated event:

 

 

Dim ComboBox As RadComboBox = DirectCast(e.Item.FindControl("PageSizeComboBox"), RadComboBox)

 

 

Dim Caption As Label = DirectCast(e.Item.FindControl("ChangePageSizeLabel"), Label)

 

 

ComboBox.Visible = False

 

Caption.Visible =

False

 

 

 

 

 

 

Tags
Grid
Asked by
rubenhak
Top achievements
Rank 1
Answers by
cognos s
Top achievements
Rank 1
rubenhak
Top achievements
Rank 1
Pavlina
Telerik team
Share this question
or