User Control has a class ImButtonLink derived from Image button.
protected void reserv_Click(object sender, ImageClickEventArgs e)
{
Response.Redirect(((ImButtonLink)sender).GetURL);
}
In Click Action function I get following error:
The type 'ImButtonLink' exists in both 'App_Web_carstable.ascx.6bb32623.yi5kff3g.dll' and 'App_Web_carstable.ascx.6bb32623.urge3_if.dll'
Any ideas? My derived class has only string parameter in addition to ImageButton class for storing navigation link. Maybe there's another way to store link in ImageButton?