| |
|
|
dwsievers
: On
November 07, 2008 2:28 PM
said:
|
Thanks for the video. There is one thing I am trying to understand. When routing the Products table to use the standard templates, the definition was (in C#) routes.Add(new DynamicDataRoute("Products/{action}.aspx") { Constraints = ... Model = model, Table = "Products" }); However, in this case I have to type "Products" twice, and I am locking in my route to include the table name. I tried something that I was expecting to work, like so: routes.Add(new DynamicDataRoute("{table}/{action}.aspx") { Constraints = ... Model = model, Table = "Products" }); but this causes all tables to use this routing, instead of only "Products". It seems that specifying the table only once would be preferred... is there any other syntax that would allow this? Thank you.
|
|
|
|
JoeStagner
: On
November 17, 2008 8:25 AM
said:
|
If you haven't get it to work send me an email and I'll try to help.
|
|
|
|
Leave a Comment
You must be logged in to leave a comment.
Click here to log in.