Posted on: 5/22/2014 11:16:01 PM | Views : 316

Hello,
I'm trying to set a variable in the ajax file upload SaveAs method:
this hard-coded path works :AjaxFileUpload1.SaveAs(MapPath("~/App_Data/" + e.FileName));
but I want to do this: AjaxFileUpload1.SaveAs(MapPath("~/" + TreeView.SelectedNode.ValuePath + "/" + e.FileName)); in fact, no variable seems to work for the MapPath. anyone have any ideas on how to set MapPath to a varible or why it will not work?
Also, does anyone know if client-side chunking works automatically or has to be configured with the ajax asynch file upload control?
 

Go to the complete details ...