Get the document link from the document library
July 6th, 2013 2:49am
you can simply use anchor tag (the anchor tag you need to build and render dynamically in code) and you just add an href attribute to the link which is displayed, add one more attribute target="_blank"
Free Windows Admin Tool Kit Click here and download it now
July 8th, 2013 3:58am
string navigate = new Uri(SPContext.Current.Web.Url).AbsolutePath;
string url = navigate + "/" + fname;
July 8th, 2013 5:46am
Hi Nizam,
Can you provide some sample I can refer to?thanks.
Free Windows Admin Tool Kit Click here and download it now
July 9th, 2013 4:44am
ok, already found the solution
just need to use this code
currentVersionRow["FileNavigationUrl"] = SPContext.Current.Web.Url.ToString() + "/" + file.Url;
and its all done, thanks all...
July 12th, 2013 11:46pm