TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Terry
NA
148
0
Add Browse button in dynamically created view - EntityFramew
Mar 15 2015 10:29 AM
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.
Reply
Answers (
3
)
How to implement SOLRCloud in Asp.net
How to add a class of common properties in multiple Models ?