Using an imagebutton and gridview checkbox colunm

Discussion in 'ASP .Net' started by bthumber, Jun 25, 2010.

  1. bthumber

    bthumber Guest

    I have a gridview were I am using a colunm of checkboxes, if checked I can
    delete that row. My checkbox code:

    <asp:ImageButton Id="DeleteMsg" runat="server" ImageUrl="/image/Delete.gif"
    onclick="DeleteMsg_Click" />

    and the event:
    protected void DeleteMsg_Click(object sender, ImageClickEventArgs e)
    {

    }
    But I keep getting and error: cs1061 "Does not contain a definition for
    DeletAll... What is wrong with my code?

    I have asked this same question in the asp.net Forum but help as of yet.
    How do I fix this?
    bthumber, Jun 25, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Benny Ng
    Replies:
    4
    Views:
    3,002
    Benny Ng
    May 23, 2006
  2. graphicsxp

    limit colunm width in gridview

    graphicsxp, May 23, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    4,226
    Flinky Wisty Pomm
    May 23, 2006
  3. =?Utf-8?B?RG90TmV0RGV2?=

    DataGrid and embeded Checkbox..How to find if checkbox clicked

    =?Utf-8?B?RG90TmV0RGV2?=, Oct 6, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    802
    David Wier
    Oct 6, 2006
  4. Jason Huang
    Replies:
    0
    Views:
    538
    Jason Huang
    Jun 29, 2007
  5. Keld

    Imagebutton and Gridview

    Keld, Oct 28, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    347
    =?Utf-8?B?SklHTkVTSA==?=
    Oct 30, 2007
Loading...

Share This Page