Page.FindControl(string id)


Hi, if you have searched for the problem, Page.FindControl(string id) raises a NullException in ASP.NET then you came to the right place.

The answer is simple

try the following…

Control c = this.Page.Master.FindControl(“ContentPlaceHolderID”);

c.FindControl(“The ID of the control you search for”);


Read the below link for the detailed information


Comments are closed.

Powered by

Up ↑

%d bloggers like this: