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

Formatting of Boolean Data Column

6 Answers 76 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andy McShane
Top achievements
Rank 1
Andy McShane asked on 25 Mar 2010, 11:25 AM
Hi, I have noticed a little quirk with the grid when populating a column with a boolean value. I have a column on my grid that is bound to a boolean data type. When the grid is first loaded it correctly display 'true' for those that are true but displays nothing for the false ones. If, however I then click on any of the columns to do a sort or filter or refresh then the columns do get correctly populated with 'true' and 'false'. It just seems to be on the first load. I am using Ajax for the data binidng by the way. Should I be applying some formating to my column.bound statement?

6 Answers, 1 is accepted

Sort by
0
Andy McShane
Top achievements
Rank 1
answered on 30 Mar 2010, 04:29 PM
Anyone? :-(
0
Andy McShane
Top achievements
Rank 1
answered on 07 Apr 2010, 09:18 AM
Still nothing?
0
Atanas Korchev
Telerik team
answered on 07 Apr 2010, 09:24 AM
Hello Andy McShane,

We need additional information.
  1. Which version of ASP.NET MVC are you using?
  2. Which version of Telerik.Web.Mvc.dll?
  3. Is the grid initially bound server-side?

Regards,
Atanas Korchev
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
Andy McShane
Top achievements
Rank 1
answered on 07 Apr 2010, 09:29 AM
Hi, thanks for your reply,

1. I am using MVC 1.0

2. Telerik.Web.Mvc.dll - 2010.1.309.135

3. The grid is initially bound via an Ajax call

I hope this helps.
0
Atanas Korchev
Telerik team
answered on 07 Apr 2010, 09:58 AM
Hi Andy McShane,

I couldn't reproduce this problem at my side. I am sending my test project.

Kind regards,
Atanas Korchev
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
Andy McShane
Top achievements
Rank 1
answered on 07 Apr 2010, 12:38 PM
Thanks, you are quite right, it works fine in your test application. I will comapare code and try to see what is different.
Tags
Grid
Asked by
Andy McShane
Top achievements
Rank 1
Answers by
Andy McShane
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or