<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-6907873803403737979.post4683195399213294791..comments</id><updated>2011-01-20T20:38:44.964Z</updated><category term='List.aspx'/><category term='white-space: nowrap'/><category term='Custom Filter'/><category term='ListActionPath'/><category term='Y/N Field'/><category term='Database Based Permissions'/><category term='Default Sort Column'/><category term='ItemTemplate'/><category term='Regular Expressions'/><category term='Linq join'/><category term='Model'/><category term='DetailsView'/><category term='France'/><category term='DomainDataSource'/><category term='Web Application Project'/><category term='Searching'/><category term='Roles'/><category term='Conversion'/><category term='Job'/><category term='Live Writer'/><category term='LayoutTemplate'/><category term='DynamicField'/><category term='FileImage_Edit'/><category term='css'/><category term='FromView'/><category term='Conditional'/><category term='IQueryable'/><category term='Session variables'/><category term='Grouping'/><category term='SP1 Release'/><category term='Extension Methods'/><category term='Linq to SQL'/><category term='ReadOnlyAttribute'/><category term='ITemplate'/><category term='PDF to Image'/><category term='Required Field'/><category term='History'/><category term='DynamicData'/><category term='Preview 4'/><category term='Events'/><category term='Preview'/><category term='File Upload'/><category term='DynamicControl'/><category term='Dynamic Data Futures'/><category term='Hierarchical'/><category term='GridView Pager Size'/><category term='DataContext'/><category term='DynamicHyperLink'/><category term='LightSwitch'/><category term='Watermark'/><category term='TypeDescriptor'/><category term='jQuery'/><category term='I&apos;m Back'/><category term='Rollover'/><category term='Compound Properties'/><category term='Row Highlighting'/><category term='ITemplate class'/><category term='GridView'/><category term='ObjectContext'/><category term='MVP'/><category term='CustomTypeDescriptor'/><category term='AJAX HTML Editor'/><category term='UIHint'/><category term='Vacation'/><category term='Blogger'/><category term='Templates'/><category term='InsertItemTemplate'/><category term='CTP4'/><category term='Hide Column'/><category term='NuGet'/><category term='Agile Principals'/><category term='FieldTemplate'/><category term='Custom Field Templates'/><category term='Expression Trees'/><category term='User Filter'/><category term='ASP.Net'/><category term='Looking for a Job'/><category term='Entity Framework'/><category term='Default Values'/><category term='Cascading FieldTemplates'/><category term='PDF To Text'/><category term='DynamicDataFutures'/><category term='OnSavingChanges'/><category term='Sorting'/><category term='Camp-Hôtel Pachacaïd'/><category term='Cascading Controls'/><category term='Business Logic/Validation'/><category term='MataTable'/><category term='Pascal to Human'/><category term='DynamicDataExtensions'/><category term='Permissions'/><category term='Syntax Highlighter'/><category term='ABCpdf .Net 7'/><category term='CTP'/><category term='I18N'/><category term='ForeignKey_Edit'/><category term='Security'/><category term='IAutoFieldGenerator'/><category term='Visual Studio 2010'/><category term='Build-5/23a'/><category term='RegisterControl'/><category term='Digsby'/><category term='ToArray'/><category term='VB Code'/><category term='Dynamic Data Filtering'/><category term='Advertisement'/><category term='Custom Page Template'/><category term='FilterUserControl'/><category term='Command Column'/><category term='Limit FilterRepeater'/><category term='Image Handler'/><category term='Links'/><category term='Routing Constraint'/><category term='Routing'/><category term='TypeDescriptionProvider'/><category term='Autocomplete'/><category term='ListView'/><category term='Read-Only'/><category term='Code First'/><category term='OnDataBind'/><category term='GetColumnValue'/><category term='.Net 4.0'/><category term='Metadata'/><category term='Linq to Entities'/><category term='Validation Groups'/><category term='FilterTemplates'/><category term='DisplayColumnAttribute'/><category term='Holiday'/><category term='DomainService'/><category term='ASP.Net 4.0'/><category term='Cascading Filters'/><category term='Filtering'/><category term='Web User Controls'/><category term='CustomValidator'/><category term='EditItemTemplate'/><category term='Custom Meta Classes'/><category term='Generics'/><category term='File Based Website'/><category term='Custom Pages'/><category term='Add Preview to Web Site'/><category term='Render'/><category term='Multi Column Search'/><category term='ForeignKey Columns'/><category term='Attributes'/><category term='Visual Studio 2008 SP1 beta'/><category term='AJAX History'/><category term='Children'/><category term='Linq'/><category term='Validation'/><category term='External Class Library'/><category term='Patterns and Practices in C#'/><category term='Multiple Models'/><category term='Filters'/><category term='Partial Methods'/><category term='Dynamic Data'/><category term='Custom Attribute'/><category term='GetActionPath'/><category term='Attribute Based Permission'/><category term='MetaColumn'/><category term='Password'/><category term='Entity Templates'/><category term='OrderBy'/><category term='Silverlight'/><category term='AJAX Control Toolkit'/><category term='Books'/><title type='text'>Comments on C# Bits: Routing and DynamicData</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://csharpbits.notaclue.net/feeds/4683195399213294791/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6907873803403737979/4683195399213294791/comments/default'/><link rel='alternate' type='text/html' href='http://csharpbits.notaclue.net/2008/06/routing-and-dynamicdata.html'/><author><name>Steve</name><uri>http://www.blogger.com/profile/17435527974910745156</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://bp1.blogger.com/_UUHjb9DZhJM/SDtH0AxIZOI/AAAAAAAAAEM/TFDI9vas7Sc/S220/Me+63x80.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6907873803403737979.post-1260399658502925053</id><published>2011-01-20T20:38:44.964Z</published><updated>2011-01-20T20:38:44.964Z</updated><title type='text'>You should use a route like:
routes.Add(new Dynami...</title><content type='html'>You should use a route like:&lt;br /&gt;routes.Add(new DynamicDataRoute(&amp;quot;{table}/{action}.aspx&amp;quot;)&lt;br /&gt;{&lt;br /&gt;    Constraints = new RouteValueDictionary(new { action = &amp;quot;List&amp;quot; }),&lt;br /&gt;    Table = &amp;quot;Table1|Table2|Table3&amp;quot;,&lt;br /&gt;    Model = model&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;This will do the trick.&lt;br /&gt;&lt;br /&gt;Steve</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6907873803403737979/4683195399213294791/comments/default/1260399658502925053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6907873803403737979/4683195399213294791/comments/default/1260399658502925053'/><link rel='alternate' type='text/html' href='http://csharpbits.notaclue.net/2008/06/routing-and-dynamicdata.html?showComment=1295555924964#c1260399658502925053' title=''/><author><name>Steve</name><uri>http://www.blogger.com/profile/17435527974910745156</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://bp1.blogger.com/_UUHjb9DZhJM/SDtH0AxIZOI/AAAAAAAAAEM/TFDI9vas7Sc/S220/Me+63x80.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://csharpbits.notaclue.net/2008/06/routing-and-dynamicdata.html' ref='tag:blogger.com,1999:blog-6907873803403737979.post-4683195399213294791' source='http://www.blogger.com/feeds/6907873803403737979/posts/default/4683195399213294791' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1202627566'/></entry><entry><id>tag:blogger.com,1999:blog-6907873803403737979.post-6474476304057520050</id><published>2011-01-20T20:20:58.276Z</published><updated>2011-01-20T20:20:58.276Z</updated><title type='text'>Hi Steve,

Just a question, it seems like you are ...</title><content type='html'>Hi Steve,&lt;br /&gt;&lt;br /&gt;Just a question, it seems like you are the foremost expert on dynamic data as I have run across your blog many times. Your solutions are just wonderful!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I am using Dynamic Data 3.5 with Entities&lt;br /&gt;&lt;br /&gt;My questions is...&lt;br /&gt;&lt;br /&gt;I want to create a new PageTempalte called &lt;br /&gt;&lt;br /&gt;MyList.aspx&lt;br /&gt;&lt;br /&gt;that a few of my entity tables will use for the list action as opposed to the List.aspx page that is already there. The remaining entity tables will continue to use the List.aspx page.&lt;br /&gt;&lt;br /&gt;I know I can create  a subfolder for each of my entities in CustomPages and create a copy of List.aspx under each one. But this will cause me to maintain multiple custom List.aspx pages when really all I need is one.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I was thinking I could alter the ListActionPath liek this:&lt;br /&gt;&lt;br /&gt;  // remove tables from the list if DenyRead&lt;br /&gt;                foreach (var table in MetaModel.Default.Tables)&lt;br /&gt;                {&lt;br /&gt;&lt;br /&gt;if(table.TableName=&amp;quot;MyTableExample&amp;quot;)&lt;br /&gt;{&lt;br /&gt;table.ListActionPath=&amp;quot;MyList&amp;quot;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Then create a route. But this does not work.&lt;br /&gt;&lt;br /&gt;Can you offer any suggestions?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6907873803403737979/4683195399213294791/comments/default/6474476304057520050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6907873803403737979/4683195399213294791/comments/default/6474476304057520050'/><link rel='alternate' type='text/html' href='http://csharpbits.notaclue.net/2008/06/routing-and-dynamicdata.html?showComment=1295554858276#c6474476304057520050' title=''/><author><name>illusian33</name><uri>http://openid.aol.com/illusian33</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://csharpbits.notaclue.net/2008/06/routing-and-dynamicdata.html' ref='tag:blogger.com,1999:blog-6907873803403737979.post-4683195399213294791' source='http://www.blogger.com/feeds/6907873803403737979/posts/default/4683195399213294791' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1486224609'/></entry></feed>
