Results 1 to 2 of 2

Thread: Datalist event error

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2002
    Location
    fgh
    Posts
    332

    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

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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
  •  



Click Here to Expand Forum to Full Width