Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
3
Answers
Add Browse button in dynamically created view - EntityFramew
Terry
9y
775
1
Reply
Hi,
In my Model I want to add a string property that will save the url/path of an image. For that I need to add "Browse" button next to a textbox for the user to select file & also a Image to display the selected image.
How can I save this image somewhere else and not in the DB - as that will increase the size of DB and save time for transferring image from byte[] to file & vice-versa ? Like this, through out the project, I will have many images to upload & show. Right now I am on local DB, Is this possible to achieve, if so , how ?
The view file where I want to add browse & Image is like this :
<asp:DynamicControl Mode="Insert" DataField="PANNumber" runat="server" />
it's inside <InsertItemTemplate> <fieldset> & <Validate-Summary>
The view is created by Scafolding.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
How to implement SOLRCloud in Asp.net
How to add a class of common properties in multiple Models ?