Posted on: 9/25/2014 3:47:59 AM | Views : 547

Hi all ,
Now I am trying to upload multiple photos . I used ajax fileupload and I store these photos to database.
But I can't get the data from text box  within ajax fileupload event .
here is my code . title = txtTitle.Text ==> there is no data  in "title"
protected void AjaxFileUpload1_UploadComplete(object sender, AjaxControlToolkit.AjaxFileUploadEventArgs e) { if (Session["titleID"] == null) { title = txtTitle.Text; desc = txtDesc.Text; titleName = generateRandom8(title); path = Server.MapPath("~/PhotoAlbum/" + titleName); DirectoryInfo thisFolder = new DirectoryInfo(path); thisFolder.Create(); query1 = "insert into Title(Title,Description,CreatedDate,CreatedBy) values" + " ('&qu ...

Go to the complete details ...