Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Making datagrid hyperlink column displays Link or Text???

Reply
Thread Tools

Making datagrid hyperlink column displays Link or Text???

 
 
Earl Teigrob
Guest
Posts: n/a
 
      01-19-2004
I am creating a download page that will display a download link for each
product that has not already been downloaded.. I know how to test for
true/false within the datagrid, but how do I make a column display a Link
(Download Now) or Text (Already Downloaded) . I would normally use a
ButtonColumn when every row is a link, but I don't know how to make that
work in this case.

Thanks for your help

Earl

Product 1 Download Now (link)
Product 1 Download Now (link)


Testing for True False:
Visible='<%#
!csCommonLibrary.Common.IsStringEmpty(DataBinder.E val(Container.DataItem,"Do
wnloadDate")) %>'



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add a hyperlink column to asp.net datagrid - where only one value is a hyperlink davetichenor ASP .Net 1 10-30-2006 02:57 PM
How to add a hyperlink column to asp.net datagrid - where only one value is a hyperlink Dave ASP .Net Datagrid Control 0 10-21-2006 07:48 PM
How to assign a column of URLs to Hyperlink Column of a DataGrid c =?Utf-8?B?ZGF2aWQ=?= ASP .Net 11 07-17-2006 07:20 PM
HyperLink Column and Button Column in a DataGrid =?Utf-8?B?V2FyYW4=?= ASP .Net 0 08-09-2005 12:00 AM
Classic asp date displays- changing over to aspnet date object displays Chumley Walrus ASP .Net 1 12-16-2004 09:57 PM



Advertisments