Pop-Up Word document fromt the GridView Hyperlink/Template column
-
Hello, I have a gridview as below: CategoryNo | Category | CurrentValue | ForeCastValue | HelpFiles | Comments I already have pre-defined values for 'Category' & obviously 'Category No' (which is auto & PK). These values are displayed when gridview opens. 'CurrentValue','ForecastValue' & 'Comments' are template fields with textbox controls. For the 'Help Files' column I have pre-designed Word documents for each Category. I need to display an image in the Help column and link the Respective Word Documents for Each Category. In the past, in one of the other projects I have created a 'Details' page and linked it to the Hyperlink column with an image and opened it in the popoup window with 'javascript:window.open(details.aspx?id={0})' etc... But here I am a bit lost as to how go about opening word documents for each category as a 'pop-up' help file with an image. I have created a 'Text' data type in the 'Category' Table in Sql Server 2005. In this field as of now I am saving the physical path of the word document for each category again catno. Should I use a Template field with 'DataBind.Eval' or still use hyperlink column to display the link and image? Using : ASP.Net 2.0, VS2005, VB, SQL Server2005 Any help is much appreciated. Thank you.
Aartee. ...HE is watching Us All!