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

rupanu pal rupanu.pal at rediffmail.com
Tue Jul 3 05:03:57 EDT 2007


hello there,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)]why is the error?  <asp:TextBox id=\"textBox1\" runat=\"server\"/> is written in aspx page.Please tell me do I need to anything in the page directive of the aspx page?Thanking you rupanu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070703/aa2eb787/attachment.html 


More information about the Mono-list mailing list