Subject: DataGrid Hyperlink
Posted By: maddy137 Post Date: 8/28/2006 6:05:58 PM
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
 

 
 
 
 SHIPPING UPDATE
 Shipped 8/28/2006 Via UPSTrack Package22222222


Reply By: dparsons Reply Date: 8/29/2006 7:18:23 AM
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]")%>'>

hth

"The one language all programmers understand is profanity."

Go to topic 48721

Return to index page 191
Return to index page 190
Return to index page 189
Return to index page 188
Return to index page 187
Return to index page 186
Return to index page 185
Return to index page 184
Return to index page 183
Return to index page 182