M
Mikie
My app is doing all edits in the datagrid footer. The footer has some
columns with textboxes and validation controls that look at the
textboxes. THe footer also has a save button and a cancel button.
My problem is that when editing a new row in the footer all the
textboxes start out empty. If nothing is entered and the cancel button
is clicked (trapped for in a code behind ItemCommand event) all the
required field validators start complaining.
Looks like I need some sort of client side code to trap the cancel
click event and disable the validators? I don't know how to do that.
Also, if there is a way to code for that, is it possible to go ahead
and raise the original cancel clicked event so that the code behind
ItemCommand event (or some server-side sub) gets called and I can do
some additional clean up?
T.I.A.
columns with textboxes and validation controls that look at the
textboxes. THe footer also has a save button and a cancel button.
My problem is that when editing a new row in the footer all the
textboxes start out empty. If nothing is entered and the cancel button
is clicked (trapped for in a code behind ItemCommand event) all the
required field validators start complaining.
Looks like I need some sort of client side code to trap the cancel
click event and disable the validators? I don't know how to do that.
Also, if there is a way to code for that, is it possible to go ahead
and raise the original cancel clicked event so that the code behind
ItemCommand event (or some server-side sub) gets called and I can do
some additional clean up?
T.I.A.