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

Filtering on Hyperlink Column

2 Answers 33 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Siddharth
Top achievements
Rank 1
Siddharth asked on 06 Oct 2008, 02:50 PM
Hi,

I am trying to Filter on hyperlink column using AllowFilteringByColumn="true" property, but it is showing me filter options as shown for Integer. I want filter options for String. What can i do?

2 Answers, 1 is accepted

Sort by
0
Siddharth
Top achievements
Rank 1
answered on 07 Oct 2008, 04:32 AM
Hi,

You need to explicitly set the property DataType="System.String"
0
Accepted
Daniel
Telerik team
answered on 08 Oct 2008, 05:11 PM
Hello Siddharth,

You can also cast your data in the Select command as shown for CategoryID below:
SelectCommand="SELECT CAST([CategoryID] AS nvarchar(10)), [CategoryName], [Description] FROM [Categories]"
 

Regards,
Daniel
the Telerik team

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