Custom ROUTING in Dynamic Data, why wouldn't it work
-
Hello guys, As i said in the subject line, I need to figure out a way to use my own markup (lets say some controls and other html) instead of one of the default page templates like the Details.aspx for a particular object (Table) lets say the Customer table. I've been told to create a folder under CustomPages folder with the same name as the table but with an additional 's' (i.e plural). Inside that create the template that you want to over write so in other words, I created a page inside this folder called Details.aspx and copied my controld and other html stuff in there. Now magically the way ROUTING works in Linq, only this particular table should render based on my stuff (html) inside that page that I created under the folder Customers. Well this isn't quite working...and I verified that by setting a break point in the newly created page's Page_load event which is located inside that Customers folder. When the dynamic data site shows up with all the names of the tables that were in the dbml file, and I click the customers table, it doesnt hit the break point, which means, it doesnt go to this new folder with the same name as the table with an additional 's'. Am I missing something here??? Thanks Tina