Good Afternoon,
I am trying to wire up the ItemDataBound event of the RadListView control and encountering issues doing so. Let me describe the situation.
I am building a custom Sharepoint webpart that loads a control from an aspx page using Page.LoadControl. The loaded aspx page contains the RadListViewControl whose events I wish to wire up.
To wire up the event I call;
I am able to wire up the DataBinding event without issue.
Am I missing something, is this not possible with the Rad Controls when loaded in this fashion?
Please let me know if you need any further details at all.
Regards,
Christian Brown
I am trying to wire up the ItemDataBound event of the RadListView control and encountering issues doing so. Let me describe the situation.
I am building a custom Sharepoint webpart that loads a control from an aspx page using Page.LoadControl. The loaded aspx page contains the RadListViewControl whose events I wish to wire up.
_ctrlGoogleCalendarSubscriptions = Page.LoadControl("/_controltemplates/NUGoogleCalendarSubscriptions.ascx"); |
To wire up the event I call;
_radCalendarListView.ItemDataBound += new EventHandler(this.radCalendarListView_OnItemDataBound); |
I do this in the CreateChildControls method.
However when I compile I recieve the error "No overload for 'radCalendarListView_OnItemDataBound' matches delegate 'System.EventHandler'"
The method I am passing is below,
protected void radCalendarListView_OnItemDataBound(object sender, Telerik.Web.UI.RadListViewItemEventArgs e) |
{ |
} |
I am able to wire up the DataBinding event without issue.
Am I missing something, is this not possible with the Rad Controls when loaded in this fashion?
Please let me know if you need any further details at all.
Regards,
Christian Brown