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

Changing Page based on a name link

3 Answers 10 Views
Grid
This is a migrated thread and some comments may be shown as answers.
TIOS
Top achievements
Rank 1
TIOS asked on 10 Mar 2011, 03:54 PM
Hi,

Trying to think of a way around this, the quickest would be to remove paging but i'd rather do some sort of paging.

If you look at http://brightwells.com/AntiquesAndFineArt/Antiques/Catalogue.aspx you will see it has a hyperlink at the top under order of sale for 1-120 which works as its in view but if you look at 311 and click on it it can't get the hook as it's not on the current page.  I'm binding the <a name="lotnumber"></a> in the Photo Thumbnail field.

Is there anyway to get the paging work according to the a name link?

Thanks,
Chris

3 Answers, 1 is accepted

Sort by
0
TIOS
Top achievements
Rank 1
answered on 10 Mar 2011, 05:04 PM
Just an update managed to get filtering working by using clientside api filter function using between.  Need to remove the leading zero's but should be able to sort that out in linq.

How do you remove the FilterRow column without it breaking the filter that's happening?
0
TIOS
Top achievements
Rank 1
answered on 10 Mar 2011, 05:16 PM
Fixed it on the filter click function  by calling masterTable.hideFilterItem(); have to call it before and after the .filter for some reason.

I've also put in $find('<%=rgList.ClientID %>').get_masterTableView().hideFilterItem(); on the $(document).ready(function () { function and also tried it not in a function but it doesnt seem to hide the filteritem any ideas how to fix that?

Thanks,
Chris
0
Iana Tsolova
Telerik team
answered on 15 Mar 2011, 04:50 PM
Hello Chris,

The $(document).ready event is fired too early. Try moving your code in the pageLoad event.

Regards,
Iana
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Grid
Asked by
TIOS
Top achievements
Rank 1
Answers by
TIOS
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or