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

Cannot inherit from GridHyperLinkColumn

2 Answers 47 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chris Zavaleta
Top achievements
Rank 1
Chris Zavaleta asked on 15 Apr 2010, 09:02 PM
Hey guys,

I'm trying to make the solution described at the link below to work with GridHyperLink columns. The problem I'm running into is if I create a class that inherits from GridHyperLinkColumn and do nothing at all to it (it's an empty class - not doing the stuff in the link below even), using that column in place of the out of the box GridHyperLinkColumn causes there to be no contents of the column showing up in the grid. You can test this easily by taking any hyperlink column thats working fine and changing it's tag to refer to your custom hyperlink class. I believe this may be a bug, and we need this fixed so we can implement drop down filters at the top of hyperlink columns.

http://www.telerik.com/help/aspnet-ajax/grdfilteringwithdropdownlist.html

2 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 20 Apr 2010, 01:18 PM
Hi Chris,

Instead of overriding the GridHyperLinkColumn, I would suggest you define a custom FilterTemplate for it. Give it a try and let me know if it works for you.

Greetings,
Iana
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Eric Means
Top achievements
Rank 1
answered on 07 May 2010, 09:52 PM
Iana,

That seems to work -- thank you!
Tags
Grid
Asked by
Chris Zavaleta
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Eric Means
Top achievements
Rank 1
Share this question
or