tag:blogger.com,1999:blog-6907873803403737979.post6457237734863590450..comments2023-10-16T12:48:46.251+01:00Comments on C# Bits: Dynamic Data Custom Field Template – Values ListStephen J. Naughtonhttp://www.blogger.com/profile/17435527974910745156noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-6907873803403737979.post-46436755698155412352013-12-04T14:26:57.724+00:002013-12-04T14:26:57.724+00:00hey, i tried your code in DD EF 4 and it is worki...hey, i tried your code in DD EF 4 and it is working fine but i don't want the value to store in the database as the selected option but rather the code it references. Not sure if i am using the right thing here. Basically i have a column called doc type which has String enum eg- BL means Bill of Lading. I want to show the used Bill of Lading in a drop down box but store as BL in the database. I also want the gridview to show Bill of lading. So basically it works like a foreignkey template but it isn't. Any help will be greatly appreciatedPapRochhttps://www.blogger.com/profile/12583311160510557220noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-44335784385978603692009-12-24T00:39:24.096+00:002009-12-24T00:39:24.096+00:00The idea was for all those time when a client need...The idea was for all those time when a client needs Yes, No, N/A type fields and they want 5, 10 or even 20 on a form, with this your not having to create all those relationships just a UIHint.<br /><br />Steve :DStephen J. Naughtonhttps://www.blogger.com/profile/17435527974910745156noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-55538117184929185422009-12-24T00:34:47.298+00:002009-12-24T00:34:47.298+00:00Thank you, very nice indeed! I'll definitely ...Thank you, very nice indeed! I'll definitely try it out, although thats seems to be a whole lot of code just to avoid using a foreign key.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-51482417577514449672009-10-31T18:10:04.606+00:002009-10-31T18:10:04.606+00:00Hi there, all DynamicControl actually use a FieldT...Hi there, all DynamicControl actually use a FieldTemplate fromt hefolder ~/DynamicData/FieldTemplates so you could extend on of these with the extender that you mentioned.<br /><br />Steve :DStephen J. Naughtonhttps://www.blogger.com/profile/17435527974910745156noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-43775138779699357722009-10-31T14:29:03.733+00:002009-10-31T14:29:03.733+00:00I have a DynamicData page that requires the functi...I have a DynamicData page that requires the functionality of three cascading dropdownlist boxes. I would like to use the AJAX Toolkit's CascadingDropDown control to extent these but the toolkit control only extends a standard asp:DropDownList control and not a asp:DynamicControl. Would really appreciate any suggestions on where some sample code for doing this might be found.<br /><br />ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-480845283734030972009-10-21T21:16:45.818+01:002009-10-21T21:16:45.818+01:00This comment has been removed by a blog administrator.triciahttp://uk.bestessays.comnoreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-22354358733367367352009-08-17T10:08:00.312+01:002009-08-17T10:08:00.312+01:00Your Welcome :DYour Welcome :DStephen J. Naughtonhttps://www.blogger.com/profile/17435527974910745156noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-87745823697814149422009-08-17T08:54:39.505+01:002009-08-17T08:54:39.505+01:00thanks for this code..thanks for this code..apostolosnoreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-91065943997188327522009-07-28T10:16:52.123+01:002009-07-28T10:16:52.123+01:00Hi Binh, have a look at
Custom Field Template – V...Hi Binh, have a look at <br /><a href="http://csharpbits.notaclue.net/2009/07/dynamic-data-custom-field-template_28.html" rel="nofollow">Custom Field Template – Values List, Take 2</a> which has an example of what you want.<br /><br />Steve :DStephen J. Naughtonhttps://www.blogger.com/profile/17435527974910745156noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-78029287284247239652009-07-28T02:48:59.414+01:002009-07-28T02:48:59.414+01:00Hello, this is a greate code I'm looking for.
...Hello, this is a greate code I'm looking for.<br />But would you change a litte to handle to have compobox with value and display value. The Value will be save to database and The Display value will be showed to user.Unknownhttps://www.blogger.com/profile/11010285342794655507noreply@blogger.com