473,394 Members | 1,701 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

OnServerChange Examples Please

Hello,

I am new to web development and I would like some examples in using
OnServerChange.
This is what is happening on the webpage. I have a list of names on the
page (names are inserted into a table using <input type="text").

Name: Here is name1
Name: name2
Name: name3
..
..
..
Name: nameN

When the page first loads I use an arrayList called dirtyArray to load
it up with another array containing a name and also an Integer (so the
first index has a name, the second has a default value of 0). Then I
fill the table up using a for loop:

<input type="text" id="txtName<%=i %>" onserverchange="setDirty"
size="30" maxlength="30"
value="<%=((ArrayList)dirtyArray.get_Item(i)).get_ Item(0) %>"/>

What I want to do is, when a person changes a name, I want the
dirtyArray bit changed from 0 to 1, so upon hitting the submit button,
my page will run through the array and find which names are "dirty" by
looking for 1's.

Where my problem lies is getting the setDirty delegate working. It
seems onserverchange is not going to the setDirty method. I need some
good examples of using onserverchange. Any help would be greatly
appreciated.

Thanks,
Allan

Apr 11 '06 #1
0 2171

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

Similar topics

14
by: Jim Hubbard | last post by:
I am looking for documentation and code examples on DDML (Display Driver Management Level). It is mentioned in the 2000, XP and 2003 DDKs - but just barely. It has to do with mirroring a...
2
by: Rory Plaire | last post by:
Hi, I've been working with the J# browser control. I understand that v1.1b is scriptable, but can't find any examples on how to do this. Can someone point me in the right direction? thanks,...
19
by: Dales | last post by:
I have a custom control that builds what we refer to as "Formlets" around some content in a page. These are basically content "wrapper" sections that are tables that have a colored header and...
4
by: Michael | last post by:
Hi! (OK, slightly silly subject line :) I'm extremely pleased to say - Kamaelia 0.4.0 has been released! What's New & Changed? =====================
3
by: jpdacal | last post by:
Hello people !!! I'm C++ beginner and I'm learning by myself... I would like to learn some classes examples with Object Orientation. Can somebody write examples here in this page ? Thank you very...
1
by: Doug Arnott | last post by:
http://www.cs.rutgers.edu/~pxk/rutgers/notes/pdf/Cstyle.pdf has an example at the end of the document of an example of an alternative implementation of interest to me. In this example, the...
5
by: playagain | last post by:
Please help me to build a list of examples of stack and queue in real life situation... Conditions: The object concerned must only one object. And the object must be tangible. Example: Queue...
7
by: Tom | last post by:
By my estimate, greater than 90% of the online doco code does not work without additional coding effort. Fully working solutions are invaluable for the student. A guru's work measured in minutes...
3
by: v4vijayakumar | last post by:
Google appengine datastore is not very clear, and I couldn't get much from API documents. It would be very helpful if there are some more detailed documents with examples. Django provides very good...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.