Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Pop-Up Word document fromt the GridView Hyperlink/Template column

Pop-Up Word document fromt the GridView Hyperlink/Template column

Scheduled Pinned Locked Moved ASP.NET
csharpjavascriptasp-netdatabasesql-server
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    BORN again
    wrote on last edited by
    #1

    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!

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups