Repeater_ItemCommand not firing

G

Guest

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);
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top