Imagebutton does not call 'Click' event

Asked

Viewed 123 times

0

I have an Imagebutton inside a grid, when I click the button it does not call the corresponding click event. Any idea what might be causing this mistake?

2 answers

1

Onclik event does not work within the grid, to manage events within the grid use Onrowcommand

Learn how to use Onrowcommand here!

0

The error was occurring for the following reason: The grid is loaded through a Objectdatasource and this was enabled to pagination, it happens that the consultation of the Selectcountmethod was different from Selectmethod and this was causing the error.

Thank you for your help and attention.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.