Code:
public void InstantiateIn(System.Web.UI.Control container)
{
PlaceHolder ph = new PlaceHolder();
SectionArgs e = new SectionArgs();
ph.DataBinding += new EventHandler<SectionArgs>(ItemTemplate_DataBinding);
container.Controls.Add(ph);
}
static void ItemTemplate_DataBinding(object sender, SectionArgs e)
{
PlaceHolder ph = (PlaceHolder)sender;
}
Error: Cannot implicitly convert type 'System.EventHandler<UserControlLibrary.Section.ItemTemplate.SectionArgs>' to 'System.EventHandler'