tag:blogger.com,1999:blog-6907873803403737979.post1810208237553711348..comments2023-10-16T12:48:46.251+01:00Comments on C# Bits: Dynamic Data Custom Field Template – Values List, Take 2Stephen J. Naughtonhttp://www.blogger.com/profile/17435527974910745156noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-6907873803403737979.post-79070029603873946732014-07-20T23:56:54.097+01:002014-07-20T23:56:54.097+01:00Hi Rodrigo, the ValuesList ahould just show a list...Hi Rodrigo, the ValuesList ahould just show a list of values not pairs i.e. 1,Y,2,N,3,H just Y,N,H bit sure why you are getting that in List page, email me dorect and I will send you a working field template.Stephen J. Naughtonhttps://www.blogger.com/profile/17435527974910745156noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-12858645676008054752014-07-20T21:24:31.775+01:002014-07-20T21:24:31.775+01:00hi Steve,
It works! :D but how I can show in the ...hi Steve,<br /><br />It works! :D but how I can show in the List.aspx's gridview the selected value that I chose in Insert or Edit form? I mean, the ValueList shows (in Insert and Edit mode) something like this:<br /><br />1 - Apple<br />2 - Cherry<br />3 - Banana<br /><br />but in List mode that column display the associated id (1, 2 or 3), not the description (Apple or so)<br /><br />Thanks in advanceAnonymoushttps://www.blogger.com/profile/02258896947917661082noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-85580358413763206242013-12-04T10:16:34.629+00:002013-12-04T10:16:34.629+00:00Hi Rodrigo, yes I do have a drop down list populat...Hi Rodrigo, yes I do have a drop down list populated from the database and shows a sorted distinct list from the current column.<br /><br />SteveStephen J. Naughtonhttps://www.blogger.com/profile/17435527974910745156noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-57185852143836472722013-12-04T04:49:05.585+00:002013-12-04T04:49:05.585+00:00hi Steve,
There's any elegant manner to get t...hi Steve,<br /><br />There's any elegant manner to get the values from database and load the ValuesList? I was checking Dynamic Data Extensions ValueList template and works with predefined values (like this example), but I need to replace some fields with DropDownList with data from other detail tables.<br /><br />Thanks in advance, as usual.Anonymoushttps://www.blogger.com/profile/02258896947917661082noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-51965982709763973442010-07-06T13:03:00.196+01:002010-07-06T13:03:00.196+01:00No it is an Attribute applied to Partial classes t...No it is an Attribute applied to Partial classes to tell Dynamic Data which FieldTemplate to use over the default.<br /><br />Steve :DStephen J. Naughtonhttps://www.blogger.com/profile/17435527974910745156noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-14354293338700786782010-07-06T12:51:53.527+01:002010-07-06T12:51:53.527+01:00is UIHint like ajax auto complete?is UIHint like ajax auto complete?Talinoreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-45048094168152642462010-05-30T14:27:35.975+01:002010-05-30T14:27:35.975+01:00This comment has been removed by a blog administrator.custom research paperhttp://www.researchpaperspot.comnoreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-52880394138913259722009-09-17T18:12:32.608+01:002009-09-17T18:12:32.608+01:00Enums will not work with non int values but the ab...Enums will not work with non int values but the above sample should.<br /><br />Steve :DStephen J. Naughtonhttps://www.blogger.com/profile/17435527974910745156noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-46634872664092300642009-09-17T17:19:15.791+01:002009-09-17T17:19:15.791+01:00Steve, thanks for the great web site and the help ...Steve, thanks for the great web site and the help with Dynamic Data.<br /><br />You mentioned using Enums instead, but what if your table uses NCHAR(1) codes instead of INTs (e.g. L=Low,H=High). Can you still use Enum data types for this?Jameshttp://www.jamesholcomb.infonoreply@blogger.com