Repeater_ItemCommand not firing

Discussion in 'ASP .Net' started by =?Utf-8?B?RGFsZQ==?=, Jul 29, 2004.

  1. I have created a custom repeater that I am using in about 8 webforms in my current project. It has been working for several weeks with no issues. Today, as Visual Studio is prone to do, it dropped the event handler registration from the InitializeComponents method on just one page. After I realized what had happened, I aded the event handling registration back by selecting the event handler method in the properties window as I always do.

    Now, the ItemCommand event will not fire for the repeater in that one page. I have deleted the repeater and re-added it from the toolbox, deleted it and re-added it by copying from another page, etc., etc. The repeater works in all other pages except this one. The repeater even has some custom events that are still working in all pages, including the problem page.

    Has anyone seen anything like this? Any ideas how just one event on the page can not fire properly when it is properly registered? The code that registers it is the same across all pages:

    this.ServerRepeater1.ItemCommand += new System.Web.UI.WebControls.RepeaterCommandEventHandler(this.ServerRepeater1_ItemCommand);

    --
    Dale Preston
    MCAD C#
    MCSE, MCDBA
     
    =?Utf-8?B?RGFsZQ==?=, Jul 29, 2004
    #1
    1. Advertisements

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. EatHam

    SortCommand not firing

    EatHam, Jan 21, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    700
    EatHam
    Jan 21, 2004
  2. Adrian

    Application_Start not firing at all

    Adrian, Jul 2, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    565
    Adrian
    Jul 2, 2003
  3. Chris Sibel

    Session_End Not Firing

    Chris Sibel, Jul 2, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    2,167
    Naveen K Kohli
    Jul 2, 2003
  4. Ken Tucker
    Replies:
    2
    Views:
    2,752
    Ken Tucker
    Jul 6, 2003
  5. Lee Swanson

    server event not firing

    Lee Swanson, Jul 15, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    436
    Victor Garcia Aprea [MVP]
    Jul 15, 2003
  6. =?Utf-8?B?ZGFuYw==?=

    DataGrid ItemCommand event not firing if not first page

    =?Utf-8?B?ZGFuYw==?=, Oct 26, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    4,393
    =?Utf-8?B?ZGFuYw==?=
    Oct 26, 2005
  7. Don
    Replies:
    1
    Views:
    360
    mr fox
    May 16, 2005
  8. Ryan Rueckl

    DataGris Paging not working (event not firing)

    Ryan Rueckl, Jun 22, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    8
    Views:
    380
    Ryan Rueckl
    Jun 24, 2005
Loading...