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
alaa
NA
166
85.2k
2 multifile upload
Sep 2 2014 3:48 PM
hi every body
how can i use 2 multifile upload in the same page
i had try this code
protected
void
uploadFile_Click
(
object
sender
,
EventArgs
e)
{
if
(
UploadImages1
.
HasFiles
)
{
foreach
(
HttpPostedFile
uploadedFile
in
UploadImages1
.
PostedFiles
)
{
uploadedFile
.
SaveAs
(
System
.
IO
.
Path
.
Combine
(
Server
.
MapPath
(
"~/Images/"
),
uploadedFile
.
FileName));
listofuploadedfiles
.
Text +=
String
.
Format
(
"{0}<
br
/>"
,
uploadedFile
.
FileName);
}
}
if
(
UploadImages2
.
HasFiles
)
{
foreach
(
HttpPostedFile
uploadedFile
in
UploadImages2
.
PostedFiles
)
{
uploadedFile
.
SaveAs
(
System
.
IO
.
Path
.
Combine
(
Server
.
MapPath
(
"~/Images2/"
),
uploadedFile
.
FileName));
listofuploadedfiles
.
Text +=
String
.
Format
(
"{0}<
br
/>"
,
uploadedFile
.
FileName);
}
}
}
but they count the all photos despite they are different the 2 file upload count the all photos on page
how can solve this problem ?
Reply
Answers (
2
)
Add dropdown list to Event Calendar [FullCalendar]
how to get repeater control id ?