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

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top