473,473 Members | 1,807 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

change backcolor

hi all

can anyone tell me how to change backcolor of last updated row of
editable datagrid so i can see which last row updated.

thanks
NK

May 7 '06 #1
3 2363
V
Hi,

Depending on whether you are talking about the Web Grid or the Windows
Grid:
1. Web Grid - you can add an event handler for the UpdateCommad event,
and then change the color there.
2. Windows Grid - you can add an event handler for the Validating
event, and then change the color there.

Regards,
Vaibhav

May 7 '06 #2

V wrote:
Hi,

Depending on whether you are talking about the Web Grid or the Windows
Grid:
1. Web Grid - you can add an event handler for the UpdateCommad event,
and then change the color there.
2. Windows Grid - you can add an event handler for the Validating
event, and then change the color there.

Regards,
Vaibhav


hi

here im working on web grid ,also i already have updatecommand handler
where i doing updation work to database n add e.item.backcolor to
change back color but no use,it shows no change.so plz tell me where i
m get wrong.

thanks
NK

May 8 '06 #3
V
Hi Niku,

maybe I was wrong; I think I must have messed up the event life cycle
somewhere. It must have something to do with when it renders, etc. (I
am not sure)....

However, I have another idea. Try to emit some javascript in the page
with the control ID of the tablerow which has been updated, and change
the color of the row on the client side. If that works, you can derive
from the grid to make your own grid with this functionality
encapsulated, so that you don't have to write this code again and
again.

Regards,
Vaibhav

May 8 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Smith Duggan | last post by:
I am attempting to change the background properties of a rectangle in the code, and have been stuck now for a day and a half. This is my first access app. Please be gentle with my steaming pile...
0
by: Agnes | last post by:
I had created a textbox usercontrol , My aim is "once the textbox got focus, its backcolor become lightgray", lost focus will change back to default.Please be kind to help. Private Sub...
1
by: jaffar | last post by:
hi, I am using Tab control, i added the tab pages , i want to change the tab pages color when ever i select the tab page, i have tabpage1,tabpage2,tabpage3 i mean when ever i select the tab...
3
by: Jim in Arizona | last post by:
I have a gridview that's being populated from an access db query. The problem I'm having is that the date/time fields in access that are populating the gridview are showing both date and time, when...
7
by: garyusenet | last post by:
I'm using krypton toolkit which has allowed me to make a cool looking form. However, when I set my textbox to disabled it is 'greyed' out. The grey colour isn't in keeping with the office 2007...
3
by: rn5a | last post by:
How do I change the BorderColor of the rows under the 2nd column in a DetailsView? I could change the BorderColor of the 1st column using the FieldHeaderStyle-BorderColor property but using...
3
by: windy | last post by:
I would like to change the backcolor inside the checkbox when the component is on focus, not the color of the text. Thanks a lot.
0
by: =?Utf-8?B?QnJpYW5ESA==?= | last post by:
Hi I am trying to find a way to change the background color of a cell (flash or blink) when its value has changed (by user or data update). I need to be able to do this for more than one cell...
1
by: dhaneshrs | last post by:
I have a small code that shows inactive and active users from the ms access DB. <%@ Page Language="VB" MasterPageFile="~/MasterPageAdmin.master" Title="Welcome" %> <%@ Import...
4
by: Dean Slindee | last post by:
Anyone got a quick and easy way to change the background color on a textbox after the user has change the text value. Already have lots of forms written, so an approach that does not depend on...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.