<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How do I Change how my Fields render?</title><link>http://www.asp.net</link><pubDate>Fri, 23 Nov 2012 17:51:37 GMT</pubDate><generator>umbraco</generator><description>Comments for How do I Change how my Fields render?</description><language>en</language><atom:link href="http://www.asp.net/rss/comments/33764" rel="self" type="application/rss+xml" /><item><title>Comment Posted by hebbsh</title><link>http://www.asp.net/web-forms/videos/aspnet-dynamic-data/how-do-i-change-how-my-fields-render</link><pubDate>Mon, 09 Jun 2008 20:43:29 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000002969</guid><description><![CDATA[ <p>Dear Sir</p> <p> &#160; &#160; &#160; &#160;Thanks for Your Time,</p> <p> &#160;wher can i found Telerik and how to install it???</p> <p>Regards</p> <p> IHAB</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/hebbsh.jpg?forceidenticon=false&amp;dt=635050843200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by grajasekaran</title><link>http://www.asp.net/web-forms/videos/aspnet-dynamic-data/how-do-i-change-how-my-fields-render</link><pubDate>Thu, 07 Aug 2008 11:50:40 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000002970</guid><description><![CDATA[ <p>How can I use [metaDatatype(typeof(myMetaData))] in VB?</p> <p>Also [DisplayFormat(DataFormatString=&quot;{0:yyyy-MM-dd}&quot;)] in VB. It shows error messages and doec not accept the format in VB</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/grajasekaran.jpg?forceidenticon=false&amp;dt=635050843200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by cv_vikram</title><link>http://www.asp.net/web-forms/videos/aspnet-dynamic-data/how-do-i-change-how-my-fields-render</link><pubDate>Fri, 15 Aug 2008 17:33:14 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000002972</guid><description><![CDATA[ <p>thanks....</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/cv_vikram.jpg?forceidenticon=false&amp;dt=635050843200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by prune</title><link>http://www.asp.net/web-forms/videos/aspnet-dynamic-data/how-do-i-change-how-my-fields-render</link><pubDate>Fri, 15 Aug 2008 21:56:19 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000002973</guid><description><![CDATA[ <p>Make sure you have an imports to System.ComponentModel.DataAnnotations</p> <p>Then use:</p> <p>&lt;MetadataType(GetType(ExampleMetadata))&gt; _</p> <p>Partial Public Class Example</p> <p>See &lt;a rel=&quot;nofollow&quot; target=&quot;_new&quot; href=&quot;http://forums.asp.net/t/1302264.aspx&quot;&gt;forums.asp.net/.../1302264.aspx&lt;/a&gt; for more</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/prune.jpg?forceidenticon=false&amp;dt=635050843200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by payini</title><link>http://www.asp.net/web-forms/videos/aspnet-dynamic-data/how-do-i-change-how-my-fields-render</link><pubDate>Wed, 27 Aug 2008 13:45:23 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000002974</guid><description><![CDATA[ <p>In VB would be something like this:</p> <p>&lt;System.ComponentModel.DataAnnotations.MetadataType(GetType (BookMetadata))&gt; _</p> <p>Partial Public Class Book</p> <p>End Class</p> <p>&lt;System.ComponentModel.DataAnnotations.DisplayFormat(DataFo rmatString:=&quot;{0:yyyy-MM-dd}&quot;)&gt; _</p> <p> &#160; &#160;Public Property PublishDate() As Object</p> <p> &#160; &#160; &#160; &#160;Get</p> <p> &#160; &#160; &#160; &#160;End Get</p> <p> &#160; &#160; &#160; &#160;Set(ByVal value As Object)</p> <p> &#160; &#160; &#160; &#160;End Set</p> <p> &#160; &#160;End Property</p> <p>&lt;System.ComponentModel.DataAnnotations.Range(0, 100, ErrorMessage:=&quot;Please enter a quantity between 0 and 100&quot;)&gt; _</p> <p> &#160; &#160;Public Property Quantity() As Object</p> <p> &#160; &#160; &#160; &#160;Get</p> <p> &#160; &#160; &#160; &#160;End Get</p> <p> &#160; &#160; &#160; &#160;Set(ByVal value As Object)</p> <p> &#160; &#160; &#160; &#160;End Set</p> <p> &#160; &#160;End Property</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/payini.jpg?forceidenticon=false&amp;dt=635050843200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by payini</title><link>http://www.asp.net/web-forms/videos/aspnet-dynamic-data/how-do-i-change-how-my-fields-render</link><pubDate>Thu, 28 Aug 2008 12:35:50 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000002975</guid><description><![CDATA[ <p>This is GREAT. However I haven&#39;t been able to make changing the controls part work. FieldValue is not being recognized. Neither on VB or C#. &#160;</p> <p>I get &quot;The name &#39;FieldValue&#39; does not exist in the current context&quot;</p> <p>I&#39;m using Visual Web Developer Express 2008 and I imported System.Web.DynamicData.</p> <p>Any clue?</p> <p>Thanks.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/payini.jpg?forceidenticon=false&amp;dt=635050843200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by norisk</title><link>http://www.asp.net/web-forms/videos/aspnet-dynamic-data/how-do-i-change-how-my-fields-render</link><pubDate>Fri, 10 Oct 2008 22:38:53 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000002976</guid><description><![CDATA[ <p>I have some 10,000 records in my table. If I do a vanilla DynamicData List, it is 100 pages and it takes several minutes to load.</p> <p>I&#39;m trying to follow this video to limit the view to just a few fields. Unfortunately, it seems to ignore my partial class and the attendant Metadata entry.</p> <p>I&#39;m working with VS2008 Pro in C#.</p> <p>Do I have to somehow indicate that there will be a partial class that should override the default field list? Must I use a particular naming convention?</p> <p>Thanks,</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/norisk.jpg?forceidenticon=false&amp;dt=635050843200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by rtpharry</title><link>http://www.asp.net/web-forms/videos/aspnet-dynamic-data/how-do-i-change-how-my-fields-render</link><pubDate>Mon, 13 Oct 2008 13:53:42 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000002977</guid><description><![CDATA[ <p>Lol did anyone else notice that when Scott mentioned DRY he said it twice?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/rtpharry.jpg?forceidenticon=false&amp;dt=635050843200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by djibril_chimere_DIAW</title><link>http://www.asp.net/web-forms/videos/aspnet-dynamic-data/how-do-i-change-how-my-fields-render</link><pubDate>Fri, 31 Oct 2008 11:50:22 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000002980</guid><description><![CDATA[ <p>Thanks! J&#235;r&#235;j&#235;f!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/djibril_chimere_DIAW.jpg?forceidenticon=false&amp;dt=635050843200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ak99372</title><link>http://www.asp.net/web-forms/videos/aspnet-dynamic-data/how-do-i-change-how-my-fields-render</link><pubDate>Sat, 27 Jun 2009 04:07:58 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000002981</guid><description><![CDATA[ <p>Why are all the routing paths, metadata hints and tables hardcoded as string?!? Read small size project have around 50 objects and if I&#39;d use this and change the object name or file name I wouldn&#39;t even get compile error... which makes it useless. One thing Microsoft could do with the technologies (they copied from other frameworks) is to at least finish them to the point when they can be used in other than just simple examples or presentations... </p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/ak99372.jpg?forceidenticon=false&amp;dt=635050843200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by bathomas48</title><link>http://www.asp.net/web-forms/videos/aspnet-dynamic-data/how-do-i-change-how-my-fields-render</link><pubDate>Wed, 26 Aug 2009 23:11:00 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000002982</guid><description><![CDATA[ <p>[Range(0, 4, ErrorMessage = &quot;Enter a number between 0 and 4&quot;)]</p><p>    public object CumGpa;</p><p>The above code works for a range of values. </p><p></p><p>I need some assist on code for a list of three values, not range.</p><p>Any ideas?</p><p>Thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/bathomas48.jpg?forceidenticon=false&amp;dt=635050843200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by bnygren40</title><link>http://www.asp.net/web-forms/videos/aspnet-dynamic-data/how-do-i-change-how-my-fields-render</link><pubDate>Wed, 30 Sep 2009 15:06:14 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000002983</guid><description><![CDATA[ <p>How does this handle SQL2008 Geography Data Types?  This is a problem for LINQ to SQL.  And if not how would I go around this.  Knowning that Geography Data type contains several variances such as polyline, Coordinates (long/Lat), Polygons etc. </p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/bnygren40.jpg?forceidenticon=false&amp;dt=635050843200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by filhodapuc</title><link>http://www.asp.net/web-forms/videos/aspnet-dynamic-data/how-do-i-change-how-my-fields-render</link><pubDate>Thu, 07 Jan 2010 00:08:44 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000002984</guid><description><![CDATA[ <p>If the property is used as a ForeignKey DisplayColumn, DisplayFormat doesn&#39;t work. When the property is to be rendered as a hyperlink, by the /DynamicData/FieldTemplates/ForeignKey.ascx control. And as a DropdownList filter by the /DynamicData/Filters/ForeignKey.ascx control.  </p><p></p><p>How to display the correct format in this case?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/filhodapuc.jpg?forceidenticon=false&amp;dt=635050843200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by filhodapuc</title><link>http://www.asp.net/web-forms/videos/aspnet-dynamic-data/how-do-i-change-how-my-fields-render</link><pubDate>Thu, 07 Jan 2010 00:25:14 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000002985</guid><description><![CDATA[ <p>For the problem I suggested, I found a solution attempt at: <a rel="nofollow" href="http://ericphan.info/development/asp-net-dynamic-data-display-custom-text-in-a-foreign-key-dropdownlist-combobox/" target="_blank">ericphan.info/</a></p><p></p><p>but I couldn&#39;t make it work.</p><p></p><p>The display column &#39;DisplayDate&#39; specified for the table does not exist. </p><p></p><p></p><p>Using .Net Framework 4.0 BETA</p><p></p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/filhodapuc.jpg?forceidenticon=false&amp;dt=635050843200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Nivash</title><link>http://www.asp.net/web-forms/videos/aspnet-dynamic-data/how-do-i-change-how-my-fields-render</link><pubDate>Wed, 24 Feb 2010 11:37:48 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000002986</guid><description><![CDATA[ <p>This is a good video, i was looking for something like this</p><p></p><p>Thanks!</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Nivash.jpg?forceidenticon=false&amp;dt=635050843200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by rajaamohammed</title><link>http://www.asp.net/web-forms/videos/aspnet-dynamic-data/how-do-i-change-how-my-fields-render</link><pubDate>Sun, 25 Apr 2010 04:43:08 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000002987</guid><description><![CDATA[ <p>Great work!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/rajaamohammed.jpg?forceidenticon=false&amp;dt=635050843200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by sonnytate</title><link>http://www.asp.net/web-forms/videos/aspnet-dynamic-data/how-do-i-change-how-my-fields-render</link><pubDate>Fri, 23 Nov 2012 17:51:37 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016866</guid><description><![CDATA[ <p>Great work Scott! Excellent tutorial, but I have a question: Why is the annotation called &quot;UIHint&quot;? Why not call it &quot;FieldTemplate&quot; or something like that?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/sonnytate.jpg?forceidenticon=false&amp;dt=635050843200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>