is this possible?

G

Guest

hey all,

let's say i have a datagrid.
in that datagrid, i have a template column with a textbox in the ItemTemplate.
i've attached a client-side script to the textbox ("onChange" event).

when i run this i bind the datagrid to a dataset.
And when I change a value in the textbox is there a way to retrieve in
javascript the value that was in the textbox before the change


thanks,
rodchar
 
M

Morgan

One way around this is to put either a hidden lable or textbox next to the
control you want to audit, bind it to the same field as the visible control,
and reference that control in the javascript.
 
G

Guest

Thank you very much. This helped.

Morgan said:
One way around this is to put either a hidden lable or textbox next to the
control you want to audit, bind it to the same field as the visible control,
and reference that control in the javascript.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top