On Sep 29, 11:42*pm, "tshad" <t...@pdsa.com> wrote:
> I am trying to change the background color for a row just updated.
>
> I tried adding this to the end of the the RowUpdating event:
>
> gvr.BackColor = System.Drawing.Color.Green;
>
> gvr.ForeColor = System.Drawing.Color.Yellow;
>
> But it didn't get applied. *I assume the original setting in the markup
> would override this.
>
> Where could I apply this so that it would get applied?
>
> Thanks,
>
> Tom
Try to put updated row id into viewstate and color the row with this
id in the RowCreated event
|