PC Review


Reply
Thread Tools Rate Thread

Changing style for row just updated

 
 
tshad
Guest
Posts: n/a
 
      29th Sep 2009
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


 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      30th Sep 2009
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
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
inconsistant style when changing style set on document ugogirl0 Microsoft Word New Users 2 17th Oct 2009 06:14 PM
Creating an Updated Document IBM Style? wolf_tracks@invalid.com Microsoft Word New Users 6 3rd Aug 2009 11:09 PM
How to stop style for col A changing to style of co D date vs $ Knowledge Seeker Microsoft Excel Setup 0 15th Apr 2008 03:26 PM
Changing from format style to list style =?Utf-8?B?Qi5XLg==?= Microsoft Excel Worksheet Functions 1 22nd Nov 2006 07:53 PM
How to stop entire document style changing when changing 1 line? =?Utf-8?B?VHJveSBBLiBDb3VydG5leQ==?= Microsoft Word Document Management 4 1st May 2005 11:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:23 AM.