Validation controls -
04-13-2006
, 09:44 PM
Hello,
I have placed 3 validation controls for 3 textboxes. My page is doing
create statement and a datagrid with Update, Cancel and Delete options
Create is a normal button to accept form fields and insert query. The
validation controls are firing as normal.
When i click Edit button in the datagrid row, its showing Update and Cancel
buttons. When i click Update after editing the values, its not doing the
update operation. INstead it is firing validation controls. If i enter some
dummey data in the form controls and do the update, its executing well. Why
is it happening like that? May be the user doesnt like to insert any data and
just want to update data. So, no need to fill form fields.
And one more question,
When i click Update, how can i ask the user for confirmation.
thanx in advance |