G
Greg
i'm not really sure how to word my question because I'm new to CSHarp and
Web-Developemnt, so I'm not quite sure how to word my question. But, I'll
give it a try anyways.
I have inherited a web-site project. One of the tasks I have is to provide a
column in a Matrix style layout and calculate the total of a row. Each
row/cell in the Matrix is assigned a dynamic name, so I can reference the
name of a specific cell if need be. What I need to do within this matrix is
calculate the total of a specific row of answers into a specific cell.
Now, since each answer box is dynamic, how can I trap an event that a
specific row has had text entered into it. For example, I have a row/col/cell
named ANSWER1 and ANSWER2, and I need to be able to add these two items up
into my dynamic cell named ANSWERTOTAL. The names of these fields are
created dynamically, so they aren't fixed. I'm thinking of storing them in an
array of some sort.
Anyway, the heart of my question is: How can I trap an change/update event
in a text field that has a dynamic name on a webpage?
I'm sure my question is probably confusing or may make no sense, but if
anyone understands what I'm saying, and ideas would be great.
Web-Developemnt, so I'm not quite sure how to word my question. But, I'll
give it a try anyways.
I have inherited a web-site project. One of the tasks I have is to provide a
column in a Matrix style layout and calculate the total of a row. Each
row/cell in the Matrix is assigned a dynamic name, so I can reference the
name of a specific cell if need be. What I need to do within this matrix is
calculate the total of a specific row of answers into a specific cell.
Now, since each answer box is dynamic, how can I trap an event that a
specific row has had text entered into it. For example, I have a row/col/cell
named ANSWER1 and ANSWER2, and I need to be able to add these two items up
into my dynamic cell named ANSWERTOTAL. The names of these fields are
created dynamically, so they aren't fixed. I'm thinking of storing them in an
array of some sort.
Anyway, the heart of my question is: How can I trap an change/update event
in a text field that has a dynamic name on a webpage?
I'm sure my question is probably confusing or may make no sense, but if
anyone understands what I'm saying, and ideas would be great.