[Mono-dev] Bug with MasterPages/Partial Class?
sontek at gmail.com
Sun Feb 4 20:56:00 EST 2007
Adding the namespace to the codebehind of a masterpage does work in MS.NET,
I'll file a bug.
On 2/4/07, Rafael Teixeira <monoman at gmail.com> wrote:
> As it is a partial class, probably the other half-of-it, was generated
> in a different namespace and the compiler can't join both parts.
> As the error is being pointed in the asp.net generated source,
> probably it is using the default namespace instead of the one you
> wrote in your part.
> Does it work on MS's ASP.NET, if so file a bug please for us to see
> how to make things fit.
> On 2/4/07, John Anderson <sontek at gmail.com> wrote:
> > I'm trying to use a masterpage with a codebehind and give the codebehind
> > namespace and i'm getting the errors:
> > /tmp/sontek-temp-aspnet-0/7d5a283d/3e455afb.0.cs(46,28) :
> > error CS0115: `Test.AutoHandlers' is marked as an override but no
> > property found to override
> > /tmp/sontek-temp-aspnet-0/7d5a283d/3e455afb.0.cs(103,29) :
> > error CS0115: `Test.FrameworkInitialize()' is marked as an override but
> > suitable method
> > which means for some reason its not inheriting from MasterPage if it has
> > namespace on it. Is there a reason for this?
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> Rafael "Monoman" Teixeira
> "The reasonable man adapts himself to the world; the unreasonable one
> persists in trying to adapt the world to himself. Therefore all
> progress depends on the unreasonable man." George Bernard Shaw
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list