Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 28th, 2006, 06:05 PM
Authorized User
Join Date: Apr 2006
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default DataGrid Hyperlink

I have a question on datagrid .
I have a datgrid as I described below.

Now I have 2 questions
 1. I need to arrange the text in the third column i.e shipping update as
           Shipped 8/28/2006
           Via USPS
            Tracking Number 222222

2. I want o make only tracking number as hyperlink .

Any help greatly appreciated

 Shipped 8/28/2006 Via UPSTrack Package22222222

  #2 (permalink)  
Old August 29th, 2006, 07:18 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

In that column, instead of Autogenerating your columns, use <asp:templatecolumn></asp:templatecolumn> to generate your columns and in the 3rd column place labels for the date and Shipping service and then a hyperlink control for the tracking number.

Add this to the controls <asp:[control] text='<%# Containter.DataItem("[field]")%>'>


"The one language all programmers understand is profanity."

Similar Threads
Thread Thread Starter Forum Replies Last Post
hyperlink in a datagrid? bhavna General .NET 1 January 25th, 2007 12:37 PM
Datagrid Hyperlink - new problem PLEASE HELP! skywalker1981 ASP.NET 1.x and 2.0 Application Design 2 April 5th, 2004 06:22 AM
DataGrid hyperlink Tangerine ASP.NET 1.x and 2.0 Application Design 2 March 24th, 2004 01:04 AM
Creating a Hyperlink in a datagrid aadz5 ASP.NET 1.0 and 1.1 Basics 0 October 25th, 2003 07:36 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.