V
Varangian
Hi there,
I'm using C# for a webapplication. In my page I'm building ImageButtons
dynamically on Page_Load. However I want to access these Images at
runtime for example when a user clicks a button for example.
I'm trying to use the FindControl but it returns a
System.Web.UI.Control not an System.Web.UI.WebControls, and altough
using GetType() function it returns that the found control is an
ImageButton. I need that further step to be able to access that
ImageButton.
Is there a way I can do this?
Thanks
I'm using C# for a webapplication. In my page I'm building ImageButtons
dynamically on Page_Load. However I want to access these Images at
runtime for example when a user clicks a button for example.
I'm trying to use the FindControl but it returns a
System.Web.UI.Control not an System.Web.UI.WebControls, and altough
using GetType() function it returns that the found control is an
ImageButton. I need that further step to be able to access that
ImageButton.
Is there a way I can do this?
Thanks