[Mono-list] textBox1 in default.aspx not found in cs file

Adrien Dessemond adrien.dessemond at softhome.net
Tue Jul 3 06:52:50 EDT 2007

On Tue, 2007-03-07 at 09:03 +0000, rupanu pal wrote:

Hello !

> When we open a new project(ASP.NET) monodevelop(0.14) it gives a
> Default.aspx and a Default.aspx.cs file by default which has the
> foolowing line :-
> textBox1.Text = "Hello World";
> .I am trying to compile and run the same but getting this error :-
> [Task:File=/home/rupanupal/Projects/Test/Test/Default.aspx.cs,
> Line=17, Column=25, Type=Error, Priority=Normal, Description=The name
> `textBox1' does not exist in the context of `Test.Default'(CS0103)]

You must enable code-behind members generation (disabled by default)

1. Go in Project/Options
2. Unfold Configurations/Debug (or Release)
3. Select the sub-item "ASP.Net" and check the single box
"Autogenerate ...."

Kind regards,


More information about the Mono-list mailing list