|
-
Mar 27th, 2008, 10:40 AM
#1
Thread Starter
Hyperactive Member
Datalist event error
Hi,
I am getting the following error relate with datalist event onselectedindexchanged
Error 13 No overload for 'dlBrandList_SelectedIndexChanged' matches delegate 'System.EventHandler' C:\Rlink\DevDNN\DesktopModules\RlinkList\ViewRlinkList.ascx 13
<asp: DataList ID="dlBrandList" runat="server" Width="484px" CellPadding="3" CellSpacing="1" Height="632px" BackColor="Silver" OnSelectedIndexChanged = "dlBrandList_SelectedIndexChanged" OnItemDataBound = "dlBrandList_ItemDataBound">
protected void dlBrandList_SelectedIndexChanged(object sender, DataListItemEventArgs e)
{}
thankzzzzzzz
Last edited by sureshvijayan; Mar 27th, 2008 at 10:51 AM.
gh
-
Mar 27th, 2008, 02:40 PM
#2
Re: Datalist event error
MSDN tells me that all you need are EventArgs rather than DataListItemEventArgs.
http://msdn2.microsoft.com/en-us/lib...exchanged.aspx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|