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

Extract text from DropDownColumn

2 Answers 58 Views
Grid
This is a migrated thread and some comments may be shown as answers.
yerlan
Top achievements
Rank 1
yerlan asked on 23 Jul 2010, 05:19 PM

Hi.

I'm have RadGrid with 2 DropDownColumns. Then  i need third column with value, contains concatenated text-field(not value-field) from first 2 dropdown columns. How I can do it?

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 26 Jul 2010, 06:17 AM
Hello Yerlan,


One suggestion is adding GridTemplateColumn as third column and placing Label in ItemTemplate. Now in the ItemDataBound event access the first and second column's cell text and set the Label Text for corresponding row.

The following link shows how to access cells and rows.
Accessing cells and rows


And the documentation shows accessing the controls in GridItem.
Referencing controls in grid row/edit form


Hope these would help you to get started.

-Shinu.
0
yerlan
Top achievements
Rank 1
answered on 26 Jul 2010, 10:35 AM
Shinu, big thanks! It's helped me.
Tags
Grid
Asked by
yerlan
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
yerlan
Top achievements
Rank 1
Share this question
or