J
J S
Good Morning Everyone,
I have a problem, i've spend too much time trying to figure out how can
i get the "click event" from a ImageButton inside a GridView. I have a
dynamic generated GridView, after i create the columns and all, i have
to create an ImageButton for each one of the elements on the GridView,
i'm trying to make something like a dinamic two dimensional array for
the asp page.
The problem is, i could create all the columns and buttons with the
commandName and everything else for each one, i thought the
GridView_RowCommand could catch the event from the Button, but it
doesn't so i don´t know where can i catch it...
I've tried to make the columns of type TemplateField, but when i try to
Add the ImageButton, i can't because of the components types.
I'm out of ideas, if someone had the same problem and knows how to solve
it, please tell me
Thanks !!
I have a problem, i've spend too much time trying to figure out how can
i get the "click event" from a ImageButton inside a GridView. I have a
dynamic generated GridView, after i create the columns and all, i have
to create an ImageButton for each one of the elements on the GridView,
i'm trying to make something like a dinamic two dimensional array for
the asp page.
The problem is, i could create all the columns and buttons with the
commandName and everything else for each one, i thought the
GridView_RowCommand could catch the event from the Button, but it
doesn't so i don´t know where can i catch it...
I've tried to make the columns of type TemplateField, but when i try to
Add the ImageButton, i can't because of the components types.
I'm out of ideas, if someone had the same problem and knows how to solve
it, please tell me
Thanks !!