Datagrid Update linkbutton causes validation

M

Mark

Hi,

I have a datagrid with a column for the Edit, Update, Cancel links.
That worked fine.

Above the datagrid I then added a textbox, required field validator
and button so I could use that to add data to the datagrid.

Now, when I edit a row in the datagrid and click Update the required
field validator above is triggered and says I have to enter info into
the textbox above.

Any way around this?

Thanks,
Mark
 
M

Mark Moeykens

I found a solution to my situation here. I changed my required field
validator's EnableClientScript to False. So now it will post back before
checking validations.
 

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,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top