[Mono-list] CodeBehind Problems

Gonzalo Paniagua Javier gonzalo at ximian.com
Thu Nov 17 17:32:03 EST 2005


On Thu, 2005-11-17 at 11:27 -0700, Ken Swift wrote:
> Well...after much difficulty, I got mono and mod_mono installed on my
> servers.  I then created a very simple HelloWorld web project in
> vs.net and copied it up to my server:
>  
> /testmono (HelloWorld.aspx)
> /testmono/bin (Web.dll)
>  
> This worked great!
>  
> Then I wanted to try something a bit more complicated, so I registered
> a new mono application called EventWeb
>  
> /EventWeb (Registration.aspx)
> /EventWeb/bin (EventWeb.dll, EventData.dll, EventDataInterface.dll,
> and a few other 3rd party assemblies)
>  
> I went to view this application and the front end code fired and
> rendered all the asp.net controls, but anything that was set from the
> code behind did not fire.  
>  
> Does anyone have any ideas?

The CodeBehind attribute is ignored by the ASP.NET compilation engine.
It's used only by VS. You need to intall the dll generated for the
codebehind file.

-Gonzalo





More information about the Mono-list mailing list