[Mono-dev] Bug with MasterPages/Partial Class?

Rafael Teixeira monoman at gmail.com
Sun Feb 4 08:05:51 EST 2007


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.

Regards,

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 a
> 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 suitable
> 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 no
> suitable method
>
>
> which means for some reason its not inheriting from MasterPage if it has a
> 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



More information about the Mono-devel-list mailing list