datagrid HyperLinkColumn base

G

Guest

I have a datagrid with a couple of columns. Right now, I'm setting assigning
the dataview to the datasource. For the HyperLinkColumn....
<asp:HyperLinkColumn DataNavigateUrlField="ATTACHMENTDOWNLOADURL"
Text="Download" HeaderText="Quick Links" SortExpression="FILEPATH"/>

The field in the dataview is something like: "/mypath/tomyfile/hello.txt"
the link gets set to http://localhost/mypath/tomyfile/hello.txt"

I want the base of the url to be something other than "http://localhost", is
there a way to set this to something other than "http://localhost" ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top