Apr 03, 2014, 12:25 PM
[CLOSED] button DirectEvents.success & button DirectEvents.failure issue
Hi Team ,
Please suggest solution or work around.
btnSubmit.DirectEvents.Click.Url = Url.Action("ImportExcelFileToDatabase", "AdminHome");
btnSubmit.DirectEvents.Click.FormID = "fileUpload";
btnSubmit.DirectEvents.Click.ExtraParams.Add(new { entityName = MasterFileTableName, isValid = true });
btnSubmit.DirectEvents.Click.EventMask.ShowMask = true;
btnSubmit.DirectEvents.Click.Success = "success";
btnSubmit.DirectEvents.Click.Failure = "failure";
using above code I Call submit button direct events. This working fine in FF & Chrome and return result "success". Which is correct. When same form I open in IE10 this code return failure , don't know why it's call failure while view return Json(new {result = true, message = "Data imported successfully" });
In view my code isif (isValid)
return Json(new {result = true, message = "Data imported successfully" });
else
return result;
and return value come as download json code.Please suggest solution or work around.
Last edited by Daniil; Apr 09, 2014 at 1:40 AM.
Reason: [CLOSED]