You can cast sender
back to ImageButton
and inspect it's ImageUrl
value to retrieve image from the button that was clicked.
ASP.net Image buttons, Changing ImageUrl of iImage buttons
-
04-08-2022 - |
Frage
i have nearly 100 image buttons in a page, which calls a common function
protected void img_clock(object sender,ImageClickEventArgs e)
(which is in c#)
how can i set a common image using ImageUrl property of ImageButton to the image button which called this function or which is clicked.
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow