jquery - calling partial view as popup window on click of ajax actionlink -
i trying open partial view popup window should contain image on click of ajax action link @ajax.actionlink("view document", "viewdocument","property", new routevaluedictionary { { "id", viewbag.documentname } }, new ajaxoptions{ httpmethod="get", insertionmode=insertionmode.replace, loadingelementid="loading", updatetargetid = "view" }) and using id finding filename , path of image , returning partial view public actionresult viewdocument(int id) { var document = db.documents.where(d => d.id == id).firstordefault(); var documentfilename = document.filename; viewbag.document = string.format("~/app_data/uploads/{0}.jpg",documentfilename); return partialview(); } and partial view l...