button in footer doesnt work?

A

Arthur Dent

I have a datagrid, with a save button in the footer. I gave the footer a
commandname and expected i could use the grid_RowCommand event to trap this
button click.
However, while the page does actually post back, the RowCommand event never
gets called.
Not only that, but clicking the button throws that error about Invalid
EventValidation, which i got around by going to web.config and setting
pages.enableEventValidation=false.

What's up with this? This worked as expected in 1.1, but why did 2.0 kill
it, and how can i get around it?

Thanks in advance,
Arthur Dent.
 
A

Arthur Dent

Okay, i worked around this by right-clicking grid, editing the template for
the column, and dbl-clicking the button. it autowired up an event for me.
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top