Dynamic Parameters & Dynamic Values

Feb 19, 2010 at 8:35 PM

I'm not sure how to explain this well...

I have a route that takes two params: id, fromDate

Is it possible to generate a node whose fromDate value was 3 days ago? (i.e. - fromDate = DateTime.Now.Add(-3) )

I'd like to have a set of links that are in the nav structure that themselves are dynamic based on todays date.  Something similar to how you'd create a routelink using route values. (i.e. - new { id="i", fromDate = DateTime.Now.Add(-3) }

Thanks!