Last post Sep 22, 2011 10:32 AM by sjnaughton
Sep 16, 2011 09:02 PM|MattDub|LINK
In Dynamic Data list using filters, the URL does not generate the query provided. For example, the URL for Products is by default
then selecting a single Category filter, I want something like
but this is not generated in the URL. Is there a clean recommended way to do this?
Sep 16, 2011 10:46 PM|sjnaughton|LINK
Hi Matt you can do this, but it's a lot of work there was a post on here a good while ago where David Ebbo posted a sample for compound PK's so I think his sample could be adapted. see
Manual Scaffolding and Routing Davids sample is in there about the third page.
Sep 21, 2011 07:24 PM|MattDub|LINK
Steve, that's helpful but not exactly what I was looking for. I am trying to preserve the FILTER parameter
within the querystring so as to be able to POINT other users to what page I have filtered, or to
bookmark favorite filters.In other words, I am OK with thisProducts/Details.aspx?Productid=1 ( a Product detail )but also want thisProducts/List.aspx?CategoryId=4 (a bookmarkable filtered list )
Sep 21, 2011 09:46 PM|sjnaughton|LINK
Hi Matt, so you want to be able to bookmark certian filers? using the normal Favoites? I asume not as that sould work out of the box. So how do you want to bookmark them?
Sep 22, 2011 12:30 AM|MattDub|LINK
No I am not getting filtering in the URL out of the box. I fire up a new DD site, Add a parent table (Categories) and a child table(Products), and when filtering the List.aspx page of the child, the rewritten URL remains
, no matter what filtering i perform...
Sep 22, 2011 10:32 AM|sjnaughton|LINK
Sorry Matt, is this a custom page with two tables on it?