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

[Solved] Conditional coloring of rows only after button click event

1 Answer 96 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 07 May 2009, 12:26 AM
Hello,

I have a RadGrid with a column set to Visible=false that I only want shown after a button_click event. Upon the click event, the column is set to Visible=true and is shown.  At this point, I want the rows text color changing according to the value in the newly visible column.

I have the column appearing on the click event, and I can color the row text straight away by setting it in RadGridReview_ItemDataBound event.  But this means the color is set before clicking the butotn. What event do I need to fire or handle to make it color them only after clicking the button?

Thanks in advance,
Paul

1 Answer, 1 is accepted

Sort by
0
Paul
Top achievements
Rank 1
answered on 07 May 2009, 01:48 AM
I've sorted it.  I just rebind after at the bottom of the button_click handler.
Tags
Grid
Asked by
Paul
Top achievements
Rank 1
Answers by
Paul
Top achievements
Rank 1
Share this question
or