M
Mathias Fritsch
I am using FindControl in my page and try to cast the control found to
a specific control.
((Controls_Footer)this.Master.FindControl("Footer1")).OnPrintToPdf +=
new Controls_Footer.PrintToPdf(Footer1_OnPrintToPdf);
This works but after a while doesnt compile anymore in Visual Studio.
"Type Controls_Footer not found" is the error.
I can then change the web.config to compile in release and it compiles
again - well most of the time.
It compiles without problems on my buildserver which uses a
webdeployment - project.
What is wrong here?
Mathias
a specific control.
((Controls_Footer)this.Master.FindControl("Footer1")).OnPrintToPdf +=
new Controls_Footer.PrintToPdf(Footer1_OnPrintToPdf);
This works but after a while doesnt compile anymore in Visual Studio.
"Type Controls_Footer not found" is the error.
I can then change the web.config to compile in release and it compiles
again - well most of the time.
It compiles without problems on my buildserver which uses a
webdeployment - project.
What is wrong here?
Mathias