Aug 22, 2006 05:30 PM|Eric Fettman|LINK
Hi, Folks --
I'm using the following C# static method to populate some DropDownLists from XML files:
select = (
select.DataSource = ds;
I'm calling the method from a code-behind page as follows:
This is the problem: the method returns a NullReferenceException if I call it from a page that has a MasterPage because FindControl is not returning anything. This is a problem ONLY if the page is associated with a MasterPage.
Any thoughts appreciated.