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

    SortCommand not firing

    EatHam, Jan 21, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    585
    EatHam
    Jan 21, 2004
  2. S. Justin Gengo
    Replies:
    0
    Views:
    520
    S. Justin Gengo
    Aug 26, 2003
  3. =?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,168
    =?Utf-8?B?ZGFuYw==?=
    Oct 26, 2005
  4. Don
    Replies:
    1
    Views:
    276
    mr fox
    May 16, 2005
  5. Ryan Rueckl

    DataGris Paging not working (event not firing)

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

Share This Page