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

Column value based on multiple data columns

1 Answer 5 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Michael Salzlechner
Top achievements
Rank 1
Michael Salzlechner asked on 04 Feb 2011, 11:21 PM
i need to display a column in a gridview. the content of the column is fixed text but the text is made up based on values of two columns in the underlying table

for exa

table field1 = A field2 = B  content = "IT IS AB"
table field1 = 1 field2 = 22 content = "IT IS A NUMBER"
....

had thought about using IMultiValueConverter but not in silverlight

whats the best approach to handle this ?

thanks

Mike

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 07 Feb 2011, 05:27 PM
Hi Michael Salzlechner,

 Actually you can achieve this using an IValueConverter. Refer to the attached example, please.

Sincerely,
Ivan Ivanov
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
GridView
Asked by
Michael Salzlechner
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or