Adding Regular Expression Validators to GridView


B

Burak Gunay

Hello,

I have a gridview with no column definitions and

AutoGenerateColumns="true"

so that I can populate this gridview dynamically depending on which
table the user wants to pull data from.

When a row is put into edit mode, I add regular expression validators
to the textboxes in that row.

When I click the Update button (whose commandname property is set to
"Update"), I reload the grid so as not to lose the values in the
texboxes but for some reason RowUpdating method of the gridview is not
getting called.

How can I fix this?

Thanks,

Burak
 
Ad

Advertisements


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

Top