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 ElumalaiPosted Jun 11, 2016, 6:39 AM
File upload control will not work in the Partial (asyn) Post back and it requires full post back.
Karthik ElumalaiPosted Jun 13, 2016, 5:08 AM
Bilawal NiazPosted Jun 13, 2016, 4:30 AM
Karthik Sachin
Vinay SinghPosted Jun 13, 2016, 2:05 AM
Karthik ElumalaiPosted Jun 12, 2016, 10:27 PM
Bilawal NiazPosted Jun 11, 2016, 1:31 PM
Karthik Sachin