I have the following line of code in some master page code behind, but it fails without the this.
Why is that?
Repeater rep = this.FindControlsByIdRegEx("maintTableRepeater")[0] as Repeater;
This is in the master page Load event, and the extension method is defined as;
public static List<Control> FindControlsByIdRegEx(this Control control, string idPattern)