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

pass two parameters from GridHyperLinkColumn

1 Answer 250 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Scott Li
Top achievements
Rank 1
Scott Li asked on 29 Oct 2008, 03:11 PM
Hi,

I want to pass two parameters from dataNavigateUrlFormatString, I want to generate a string for DataNavigateUrlFormatString like this:
javascript: void(popupwindow('test.aspx?id=xxx&type=xxx'));
two xxx represent two diffrent fields in the data source.

Thanks,

1 Answer, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 30 Oct 2008, 07:09 AM
Hi Scott Li,

Here is an example:

<telerik:GridHyperLinkColumn  DataNavigateUrlFields="MyField1, MyField2"  DataNavigateUrlFormatString=" javascript: void(popupwindow('test.aspx?id={0}&type={1}'));">
</telerik:GridHyperLinkColumn>

Greetings,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Scott Li
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or