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

GridHyperLinkColumn does not accept NULL values for DataNavigateUrlFields in Q3

2 Answers 64 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jeff Wardwell
Top achievements
Rank 1
Jeff Wardwell asked on 07 Nov 2008, 05:32 PM

I have a RadGrid that binds to an ObjectDataSource.  In its MasterTableView Columns, there is a column that has a GridHyperLinkColumn that has 3 DataNavigateUrlFields.  In Q2, the column seemed to work fine if there was a null parameter.  In Q3, this causes a runtime error.  Is this a functionality change, or have I missed something?

<telerik:RadGrid runat="server" ID="grdCarLst" Width="100%" DataSourceID="objCarLst"
    EnableEmbeddedSkins="false" AllowSorting="false">
    <MasterTableView Width="100%" AutoGenerateColumns="false" DataSourceID="objCarLst"
        AllowSorting="false">
        <NoRecordsTemplate>
            No vehicles matched your search criteria.
        </NoRecordsTemplate>
        <Columns>
            <telerik:GridHyperLinkColumn DataNavigateUrlFields="Parm1,Parm2,Parm3" Text="Details"
                DataNavigateUrlFormatString="~/Used-Cars/Used-Car-Details.aspx?one={0}&two={1}&three={2}">
        </Columns>
    </MasterTableView>
</telerik:RadGrid>

For our purposes:

Parm1 string - never null
Parm2 byte
Parm3 string - occasionally null

Dev Environment: Windows Vista Home Ed.
Server: Windows Server 2008
Telerik.Web.UI.dll Version=2008.03.1105.35

PS
I think the new site design looks great!

2 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 10 Nov 2008, 02:29 PM
Hello Jeff,

I confirm that you found an issue in the present version of RadControls for ASP.NET AJAX suite. I notified our developers about the behavior you reported.

As a sign of gratitude for your cooperation we updated your Telerik points.

I will keep you informed about this matter.

Kind regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Daniel
Telerik team
answered on 12 Nov 2008, 08:56 AM
Hello Jeff,

For your convenience I attached the latest unofficial build to this thread. Please test it and let us know whether it helps to overcome the problem.

Greetings,
Daniel
the Telerik team

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