This is a migrated thread and some comments may be shown as answers.

Pass Date In Query String

1 Answer 128 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 28 Feb 2010, 06:11 PM
All,

I know this one is a simple one, but for the life of me I cannot find the answer.

1) Have a rad grid populated w/ one hyperlink column.
2) The value is bound to a date of a .pdf doc
3) I want to open the .pdf doc in a new window.
4) I cannot seem to be able to pass the doc created date, which is the value of the hyperlink column.

Any ideas?

Thanks, Kevin

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 01 Mar 2010, 09:34 AM
Hi,

Please  take a look at the sample hyperlink column below.You need to specify the DataNavigateUrlFields as the Date field and set the DataNavigateUrlFormatString accordingly to accept this value as the parameter

ASPX:
  <telerik:GridHyperLinkColumn FooterText="HyperLinkColumn footer" DataTextFormatString="Search Google for '{0}'" 
                        DataNavigateUrlFields="CompanyName" UniqueName="CompanyName" DataNavigateUrlFormatString="http://www.google.com/search?hl=en&amp;q={0}&amp;btnG=Google+Search" 
                        HeaderText="HyperLink<br/>Column" DataTextField="CompanyName"
 </telerik:GridHyperLinkColumn> 

For more information on the same:

Here is a link on passing parameters to pdf

Thanks,
Princy
Tags
Grid
Asked by
Kevin
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or