ImageButton Control nested in a GridView Control throws EventValidation error.

All posts have moved to Typps

See you there.

Alessandro

4 Comments

  • Changes IDs on OnRowDataBound is a better and short way - working with ajax too.
    But if we bind any data to control in any "repeatable" template control, i think to use Control.OnDataBinding will be better.

  • That helps me!!! Thank you a lot!

  • I think you're a Guru Sir, not only did you give us the solution to the problem but also explanations on how this bug occurs. I've been searching the net for like 10 hours trying to fix this issue after migrating our site from 1.1 to 2.0. The second option worked for me. Thanks a lot!

  • oh man, thanks a lot, this article absolutely solve my problem. be happy in your times.

Comments have been disabled for this content.