tag:blogger.com,1999:blog-6907873803403737979.post7697536922032509171..comments2023-10-16T12:48:46.251+01:00Comments on C# Bits: Dynamic Data: Part 1 - FileImage_Edit FieldTemplateStephen J. Naughtonhttp://www.blogger.com/profile/17435527974910745156noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-6907873803403737979.post-38877711939558768952011-07-07T00:32:30.530+01:002011-07-07T00:32:30.530+01:00Hi Maziar, I'm not sure why you have this issu...Hi Maziar, I'm not sure why you have this issue, does the rest of Dynamic Data work fine?<br /><br />Steve<br /><br />P.S. you can e-mail me direct my e-mail it int he top right of the page.Stephen J. Naughtonhttps://www.blogger.com/profile/17435527974910745156noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-69339037537441451232011-07-06T23:49:03.282+01:002011-07-06T23:49:03.282+01:00Dear my friend,
I started a DD project. The probl...Dear my friend,<br /><br />I started a DD project. The problem is that when I run the project in my pc , everything is fine and I can upload image using File_Image uploader very well. But when I publish the project and upload it to my host, I can not upload any images.<br /><br />Do you have any idea about what can I do?<br /><br />Best Regards,<br /><br />MaziarMaziarhttps://www.blogger.com/profile/04119956494022354541noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-23692116202240291212011-07-06T23:45:00.815+01:002011-07-06T23:45:00.815+01:00Dear my friends,
I need help!
I made a DD projec...Dear my friends,<br /><br />I need help! <br />I made a DD project which contains File_image upload. When I ran the project in visual studio connected to remote db, every thing is fine.<br /><br />The problem is when I publish and upload the site to my host. When I want to upload an image, page redirects to my main page!<br /><br />Best Regards,<br />MaziarMaziarhttps://www.blogger.com/profile/04119956494022354541noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-1792327604735192022011-06-18T23:33:59.942+01:002011-06-18T23:33:59.942+01:00Nice one Nikhil, I'm just about to start on an...Nice one Nikhil, I'm just about to start on an epic posrt of all this stuff to NuGet to make it easier to get.<br /><br />(MayBe it should have been called EasyGet)<br /><br />SteveStephen J. Naughtonhttps://www.blogger.com/profile/17435527974910745156noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-16893136754616438722011-06-18T19:48:43.716+01:002011-06-18T19:48:43.716+01:00Hey Steve,
I had the class named incorrectly. It&...Hey Steve,<br /><br />I had the class named incorrectly. It's all working now.<br /><br />Thanks. you can delete my previous comment.Nikhil Singhalhttps://www.blogger.com/profile/03662183414943720702noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-52081853358345696452011-06-18T19:43:47.803+01:002011-06-18T19:43:47.803+01:00Hi Steve. Thanks for the zip file.
After a bunch ...Hi Steve. Thanks for the zip file.<br /><br />After a bunch of modififcations for DD 4, I got the project to compile.<br /><br />Being new to DD, I am having the view and edit for file image to show up. My DB has a table called "ProjectImage" with EF model has a class called "ProjectImages" with a FilePath.<br /><br />I also added a new class as per your post, listing 7:<br />namespace WN.Web<br />{<br /> [MetadataType(typeof(ProjectImagesMD))]<br /> public partial class ProjectImages <br /> {<br /> public class ProjectImagesMD<br /> {<br /> public object Id { get; set; }<br /> public object Description { get; set; }<br /> [UIHint("FileImage")]<br /> [ImageUrl("~/images/{0}")] // now REQUIRED <br /> [ImageFormat(80, 80)] // now display in edit is not used but could be <br /> [FileImage(FileImageAttribute.EditorType.Upload)]<br /> [FileImageTypes("gif", "png", "jpeg", "jpg")]<br /> public object FilePath { get; set; }<br /> }<br /> }<br />}<br /><br />When I run your sample, everything is fine, but when i run my project, nothing shows for view or upload.<br /><br />I am sure it is just some minor tweak i need to do. Can you give some pointers?<br /><br />Thanks<br />NikhilNikhil Singhalhttps://www.blogger.com/profile/03662183414943720702noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-84312153694801793802011-06-18T10:25:27.982+01:002011-06-18T10:25:27.982+01:00Hi Nikhil, if you go to part 2 there is a download...Hi Nikhil, if you go to part 2 there is a download.<br /><br />Steve<br /><br />P.S. I will be making all these samples available via NuGet see http://nuget.orgStephen J. Naughtonhttps://www.blogger.com/profile/17435527974910745156noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-42422921535279892092011-06-18T06:55:38.391+01:002011-06-18T06:55:38.391+01:00Steve,
I am new to DD and I am not sure where to p...Steve,<br />I am new to DD and I am not sure where to put this new code. <br /><br />Can you please add some simple, clear instructions on what are the actual files and where do they go.<br /><br />Maybe, since this is a full solution, if you can zip the files, that would be just awesome.<br /><br />Thanks<br />NikhilNikhil Singhalhttps://www.blogger.com/profile/03662183414943720702noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-56020949791722479962011-02-25T11:08:56.770+00:002011-02-25T11:08:56.770+00:00how to create RadioButtonList Templatehow to create RadioButtonList TemplateAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-11022678946503995992010-01-26T18:53:06.713+00:002010-01-26T18:53:06.713+00:00Thanks :D
SteveThanks :D<br /><br />SteveStephen J. Naughtonhttps://www.blogger.com/profile/17435527974910745156noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-73740636111112274302010-01-26T18:32:31.352+00:002010-01-26T18:32:31.352+00:00hey Steve, sorry for the wrong url. Your topic is ...hey Steve, sorry for the wrong url. Your topic is very good, however i'm using blob, but it gave me some insights and i could make it work with blob. Thank you so much!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-39456385254714592942010-01-26T14:50:22.290+00:002010-01-26T14:50:22.290+00:00Sorry that link "forum.asp.net/p/1518245/3639...Sorry that link "forum.asp.net/p/1518245/3639799.aspx" does not work :(<br /><br />just e-mail the correct link to me, my e-mail is at the top of the page.<br /><br />Steve :DStephen J. Naughtonhttps://www.blogger.com/profile/17435527974910745156noreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-31355407529988446872010-01-26T14:27:56.692+00:002010-01-26T14:27:56.692+00:00I also would like an example with BLOB. I've b...I also would like an example with BLOB. I've been trying to but no luck. Take a look at forum.asp.net/p/1518245/3639799.aspxAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-927683839766302092009-11-18T16:36:33.148+00:002009-11-18T16:36:33.148+00:00Hello,
Do you know if is possible to create a Dyn...Hello,<br /><br />Do you know if is possible to create a Dynamic Data Site with BLOB field for insert for exemple the word doucement?<br /><br />Thanks in advance,<br /><br />RicardoAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6907873803403737979.post-81086036477909933552008-09-09T17:57:00.000+01:002008-09-09T17:57:00.000+01:00This sample wont work.http://forums.asp.net/t/1317...This sample wont work.<BR/>http://forums.asp.net/t/1317558.aspxAnonymousnoreply@blogger.com