Congratulations - C# Corner Q4, 2022 MVPs Announced
Why Join
Become a member
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
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Gcobani Mkontwana
1k
1.5k
253.9k
How to save text or file upload in modal using asp.net mvc?
Aug 11 2020 5:17 AM
Hi Team
I am working on modal etc on bootstrap, now i am trying to figure it out but not sure. If i am using file upload. how do i save that file? Do i use jquery to do this on client side, if want that file to exist within the dabase layer? Please advice me as i am confuse need some clarity below, thanks.
$(document).ready(
function
() {
$.ajax({
url:
"Index/Account"
// something like this///
}).then(
function
(data) {
$(
'.greeting-id'
).append(data.id);
$(
'.greeting-content'
).append(data.content);
});
});
Reply
Answers (
2
)
To avoid calling of Onload function Twice
button aria-popup with Dashboard container/header