ItemCommand not firing in a user control

Discussion in 'ASP .Net Datagrid Control' started by Brian Johnson, Nov 20, 2003.

  1. I have a datagrid in a web user control (ascx). I have
    added a button, but cannot get it to fire the ItemCommand
    event.

    I have tested this in an aspx and it works fine with the
    same code, but will not work in the ascx. It seems the
    viewstate is not there as the data disappears when it
    posts back. Viewstate is enabled.

    I saw a similar post about a week ago (11/11), but there
    weren't many details as to the solution.

    Please help!

    Thanks,
    Brian
    Brian Johnson, Nov 20, 2003
    #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. EvelynAnd Ethan
    Replies:
    4
    Views:
    960
    =?Utf-8?B?Sko=?=
    Jan 9, 2006
  2. EvelynAnd Ethan
    Replies:
    0
    Views:
    389
    EvelynAnd Ethan
    Oct 17, 2005
  3. EvelynAnd Ethan
    Replies:
    0
    Views:
    535
    EvelynAnd Ethan
    Oct 17, 2005
  4. Replies:
    1
    Views:
    4,498
    Teemu Keiski
    Jul 24, 2006
  5. Ryan Shaw

    Custom Server Control with DataList and ItemCommand not firing

    Ryan Shaw, Jun 1, 2005, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    140
    Sergey Polyakov
    Jun 1, 2005
Loading...

Share This Page