Click to See Complete Forum and Search --> : (static pnlCenter)+ (this.pnlCenter = __ctr)l=error


sa_keles
March 18th, 2006, 12:45 PM
i changed modifiers of panel from protected to internal static. when i compile the code it generates a file like this
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\myproject\52bba8fe\d48fa747\xmdmqfka.0.cs
in this file there is a line like this this.pnlCenter = __ctrl this line generates an error
what should i do

mcmcom
March 18th, 2006, 01:55 PM
change it back to protected from internal static.

:o

sa_keles
March 18th, 2006, 02:51 PM
:) good idea