salam
file uploader send images in database when i not apply ajax,
but when i apply ajax than, file upload not send the image into database.
any one tell me why?
code is here:
<%--Framework Scripts--%>
<%--Site Scripts--%>
Backend coding is:
obj.Image = FileUpload1.FileName;
Random r = new Random();
long s = r.Next(10000, 200000);
obj.Image = s + FileUpload1.FileName;
string path = Server.MapPath(@"Images/" + s + FileUpload1.FileName);
FileUpload1.SaveAs(path);

Karthik ElumalaiRank #544 · 4.5K reputationPosted Jun 11, 2016, 2:39 AM EDT
File upload control will not work in the Partial (asyn) Post back and it requires full post back.
Bilawal Niaz84 reputationPosted Jun 11, 2016, 9:31 AM EDT
Karthik Sachin
Karthik ElumalaiRank #544 · 4.5K reputationPosted Jun 12, 2016, 6:27 PM EDT
Vinay SinghRank #604 · 4K reputationPosted Jun 12, 2016, 10:05 PM EDT
Bilawal Niaz84 reputationPosted Jun 13, 2016, 12:30 AM EDT
Karthik Sachin
Karthik ElumalaiRank #544 · 4.5K reputationPosted Jun 13, 2016, 1:08 AM EDT