TeaAddictedGeek
Programmer
I'm getting an error with an ItemDataBound event. Here's the code:
override protected void OnInit(EventArgs e)
{
base.OnInit(e);
rtASAP.ItemDataBound += new RepeaterItemEventHandler(rtASAP_ItemDataBound);
}
private void rtASAP_ItemDataBound(object source,
RepeaterCommandEventArgs e)
{
The error is "No overload for 'rtASAP_ItemDataBound' matches delegate System.Web.UI.WebControls.RepeaterItemEventHandler'" and it points to the line "new RepeaterItemEventHandler(rtASAP_ItemDataBound)". Given that this code is identical to various examples out there in similar help forums, I'm at a loss as to why it doesn't work.
Thanks!
"The computer programmer is a creator of universes for which he alone is responsible. Universes of virtually unlimited complexity can be created in the form of computer programs."
-Joseph Weizenbaum
override protected void OnInit(EventArgs e)
{
base.OnInit(e);
rtASAP.ItemDataBound += new RepeaterItemEventHandler(rtASAP_ItemDataBound);
}
private void rtASAP_ItemDataBound(object source,
RepeaterCommandEventArgs e)
{
The error is "No overload for 'rtASAP_ItemDataBound' matches delegate System.Web.UI.WebControls.RepeaterItemEventHandler'" and it points to the line "new RepeaterItemEventHandler(rtASAP_ItemDataBound)". Given that this code is identical to various examples out there in similar help forums, I'm at a loss as to why it doesn't work.
Thanks!
"The computer programmer is a creator of universes for which he alone is responsible. Universes of virtually unlimited complexity can be created in the form of computer programs."
-Joseph Weizenbaum