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

Customizing Pager Programatically

1 Answer 56 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Das
Top achievements
Rank 1
Das asked on 13 Jan 2009, 09:17 AM
Hi,
I am trying to customize my pager programatically. I have two grids in my page. I have the text box which allows the user to enter the page number to go by. I am validating the user entry using range validator. When doing any operation in the grid I am getting the "An entry with the same key already exists." error. This is because of the range validator. Now I want to find whether the range validator exists already in the pager. How can this be done?

I am using this.tableview.FindControl("rangevalidator") but it won't work. How do I do this now?

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 14 Jan 2009, 10:51 AM
Hi Das,

Please review the below articles on how to access/customize grid pager:

http://www.telerik.com/help/aspnet-ajax/grdaccessingcellsandrows.html
http://www.telerik.com/help/aspnet-ajax/grdprogrammaticpagercustomization.html
http://www.telerik.com/help/aspnet-ajax/grdaccessingdefaultpagerbuttons.html

Check it out and let me know if any issues arise.

Kind regards,
Iana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Ajax
Asked by
Das
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or