I need to open a some types of files like .jpg, word, .pdf when the user clicks on link in gridview. Right now i am using this code and its not opening up.
It is a web application and i have to open the file which is present in the local drive of user. I would be binding the path of file in NavigateUrl property of the hyperlink
<asp:hyperlink ID="HyplnkName" runat="server" NavigateUrl= '<%# ConfigurationManager.AppSettings["ImagesFilePath"]) %>' Target="_top" Text='<%# DataBinder.Eval(Container, "DataItem.FileName") %>' />