I'm working on a small project for work and I'm using Telerik:RadGrid controls. I'm trying to pass a query string with the DO name in the GridHyperLinkColumn. When the page renders and I hover over the link the query string is null (ie: GMRanking.aspx?DO=). It seems like a binding issue but I'm at a loss. Thanks in advance for your help.
I'm populating the grid like so:
var contestResults = ContestBiz.GetGMData();
GMGrid.DataSource = contestResults.Select(x => x.DoName).Distinct();
GMGrid.DataBind();
Here's what I've got in the aspx
<Columns>
<telerik:GridHyperLinkColumn
Text="Select"
HeaderStyle-Width="50px"
UniqueName="Link"
DataNavigateUrlFields="DO"
DataNavigateUrlFormatString="~/GMRanking.aspx?DO={0}">
</telerik:GridHyperLinkColumn>
<telerik:GridBoundColumn DataField="DO"
HeaderText="DO" UniqueName="DO" >
<HeaderStyle HorizontalAlign="Left" Font-Bold="true" />
<ItemStyle HorizontalAlign="Left" />
</telerik:GridBoundColumn>
</Columns>