Author: Comfy | Posted on: 7/29/2010 8:14:04 AM | Views : 344

I was hoping someone could tell whether this is or isn't possible as most of the sites I checked havn't helped.


I'm using the guide here to display a pdf in a webpage.
http://www.beansoftware.com/ASP.NET-Tutorials/PDF-View-Custom-Control.aspx


Also on the site is a dropdownlist which is generated using a sqlDatasource.  In the Sql Database is the url of a pdf for each user.


What I would like to do is once a user has been selected from the dropdownlist, display the pdf by changing the Filepath.

<cc1:ShowPdf ID="ShowPdf1" runat="server" BorderStyle="Inset" BorderWidth="2px" FilePath="user_id.pdf#toolbar=0&navpanes=0" Height="400px" Style="z-index: 103; left: 24px; position: absolute; top: 128px" Width= ...

Go to the complete details ...