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

[Solved] Changing DataBound Text

2 Answers 131 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 30 Jan 2008, 01:15 AM
Is it possible to change the text of a column in a row if it meets a criteria.  For instance we have a date field which is allowed null, so if null I need to display blank instead of 1/1/0001

also we have an int column and so if the value = 0 we'd want it to display blank.

Is there a way to do this or do I need to update the custom list object to return the desired output.

2 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 31 Jan 2008, 09:34 AM
Hi John,

Attached to this message is a small application, which handles a very similar functionality. Naturally, you can customize it further, as needed.  
I hope it helps.

Kind regards,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
John
Top achievements
Rank 1
answered on 31 Jan 2008, 10:29 PM
Excellent, thats the functionality I was looking for.

Thanks again,

John
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Yavor
Telerik team
John
Top achievements
Rank 1
Share this question
or