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?
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?