Answered by:
Foreign Key Autocomplete

Question
-
User-1733504089 posted
Split off from http://forums.asp.net/t/1666394.aspx/1?Foreign+Key+Autocomplete#
sjnaughton, Is possible to use your Foreign key autocomplete in Dynamic data of VS 2008? I can not upgrade to DD 4.0 now. Thanks
Friday, February 10, 2012 2:52 PM
Answers
-
User-330204900 posted
I have I just don't seem to have published it anywhere, I do however have the source up on codeplex you can get it here http://ddextensions.codeplex.com/ you will need to mess around a little to get it working but all the bits ar there.
My Project on Codeplex will be up an running soon with everythigh working. simple installs from NuGet and a Project Template.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, February 14, 2012 7:42 AM
All replies
-
User-330204900 posted
yes it is I think my first build was for DD .net 3.5 SP1 let me see... yes I found it here: Dynamic Data and Field Templates - An Advanced FieldTemplate
Friday, February 10, 2012 4:21 AM -
User-1733504089 posted
Steve, thank for your reply. I saw that before and follow your post today, I found it does not work when the column is foreign key, it try to query the current table instead of the table it links to. Also On the list page, the foreign key column does not show any data; when click edit, the link table name is shown up in the column. Have you experienced that before? How to fix those? Thanks
Friday, February 10, 2012 2:52 PM -
User-330204900 posted
Sorry about that, I'm not sure what is wrong with that as it was originally set to work with FK as it was converted from a filter.
Friday, February 10, 2012 4:24 PM -
User3866881 posted
Hello Ronwang:)
Since naughton's solution has a nice sample of that……I guess you can try to download his sample and try to do some modifications based on your db or something else。Have a try with that to see what's happening。
Reguards!
Saturday, February 11, 2012 9:42 PM -
User-1733504089 posted
Steve, where can I find the source code for this? So I can try to figure it out. Thanks
Monday, February 13, 2012 9:47 AM -
User-1733504089 posted
Steve, in http://csharpbits.notaclue.net/2008/07/dynamic-data-and-field-templates_28.html
Is this still valid? You said you have changed it to work with foreign key in your early reply.
Note: This does NOT work with foreign key fields it’s a text field only thingMonday, February 13, 2012 10:19 AM -
User3866881 posted
Steve, in http://csharpbits.notaclue.net/2008/07/dynamic-data-and-field-templates_28.html
Is this still valid? You said you have changed it to work with foreign key in your early reply.
Note: This does NOT work with foreign key fields it’s a text field only thingNo。MVP has offered you a download link(have you seen the https://skydrive.live.com/?cid=96845e7b0fac1eed&id=96845E7B0FAC1EED%21319)DD_FieldAutoComplete sample。
Monday, February 13, 2012 8:22 PM -
User-330204900 posted
I have I just don't seem to have published it anywhere, I do however have the source up on codeplex you can get it here http://ddextensions.codeplex.com/ you will need to mess around a little to get it working but all the bits ar there.
My Project on Codeplex will be up an running soon with everythigh working. simple installs from NuGet and a Project Template.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, February 14, 2012 7:42 AM