Workflow Soluiton

 View Only
  • 1.  Viewing and external Link Based on Variable data

    Posted Jul 28, 2010 02:01 PM
    I am trying to allow a user to download a file via an Link to a web service call. The files and their ids exists in a database so I retrieve the document Id and build the string needed to call the web service to open/download the file. The problem is that I want someone to be able to select a row from a list of documents to open/download them. But when using a grid control I can only open the document of a selected grid item onces I've left the form and come back. Since I didn't want to post the form (because it returns automatically to the top and my grid is out of view, and I can't use a grid control inside a dynamica update panel I am a bit preplex on what is the best solution for this problem. Does anyone know how to follow a link from grid linked data?


  • 2.  RE: Viewing and external Link Based on Variable data

    Posted Aug 07, 2010 03:09 PM
    Stacie,


    You could put a dynamic panel below your grid that populates a link with the proper info when a line is selected in the grid. Just make sure you check "post form on value change" in your grid.

    rob


  • 3.  RE: Viewing and external Link Based on Variable data

    Posted Aug 09, 2010 10:01 PM
    I've been playing with the HTML column type in the Grid, and it works pretty well. All you need to have is the URL (with the http:// portion too!) of the file you want to access. This opens the link in a new window and leaves the original grid intact.



    rob