Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2005

Tip: Looking for answers? Try searching our database.

Page changes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tshad - 14 Jul 2005 18:11 GMT
Is there an easy way to tell if a change has been made on a page?

For example, I have a page that has about 30 fields on it.  I start out
getting any existing data from our sql tables and the user then will start
making changes (or he may not).

I would like to be able to ask him if he wants to save any changes he has
made.  But how do I tell if he has made any changes?

Thaanks,

Tom
Siva M - 14 Jul 2005 18:19 GMT
I have not tried this, but came across this some time ago:
http://www.4guysfromrolla.com/webtech/100604-1.shtml

Is there an easy way to tell if a change has been made on a page?

For example, I have a page that has about 30 fields on it.  I start out
getting any existing data from our sql tables and the user then will start
making changes (or he may not).

I would like to be able to ask him if he wants to save any changes he has
made.  But how do I tell if he has made any changes?

Thaanks,

Tom
snt - 14 Jul 2005 19:33 GMT
Yes, you can.  Keep a hidden control in the page and update it through
javascript event (say onchange for textboxes), when the user changes
the data.  The only hitch is that if the user changes something, and
again puts back to what it was originally, you cannot really find out
with this approach.  For that you need to keep another copy of the
original data in hidden controls.  Hope this helps.

snt
http://www.flexoweb.com
http://www.onlinemall.com

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.