This question is locked. New answers and comments are not allowed.
Hi,
I have GridViewDataColumn column, which I convert into Checkbox Type by setting DataType to typeof(System.Boolean).
In Q2 2009 release I was binding it to string type of "True" and "False" and it was working fine but when I upgraded to Q3 2009, it broke.
I am getting "...casting issue.."
What do I have to do to make it work?
I cannot change datatype, since it is coming for other source.
Since my grid is runtime generated, I cannot implement column Template and Converter.
Rgds
Alfa.
5 Answers, 1 is accepted
0
Accepted
Hi Alfa,
Sincerely yours,
Milan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I would have advised you to use a converter. What is stopping you from using a converter? There should be not problem to apply a converter event if your grid is generated at runtime?
Sincerely yours,
Milan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Alfa
Top achievements
Rank 1
answered on 20 Nov 2009, 06:00 AM
Could you please provide some links or example to do it?
Rgds
Alfa
0
Hi,
You can check this demo for more info.
Sincerely yours,
Vlad
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
You can check this demo for more info.
Sincerely yours,
Vlad
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Alfa
Top achievements
Rank 1
answered on 20 Nov 2009, 06:50 AM
I don't think GridView is runtime generated in the example.
Rgds
Alfa
0
Accepted
Hello,
Converters can be added to column DataMemberBinding no matter if the column is generate runtime or statically declared.
Kind regards,
Vlad
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Converters can be added to column DataMemberBinding no matter if the column is generate runtime or statically declared.
Kind regards,
Vlad
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
