List Info

Thread: ASP.NET and MD problem




ASP.NET and MD problem
user name
2007-04-12 05:06:01
Hello

i9;m testint asp.net on md 0.13.1.

I experience some problems with compliation of 2.0 .NET

MonoDevelop require "protected System.Web..." in codebehind file, which is absolutly not needed. and xsp2 knows how to diplay without that. For first test I use example file with codebehind, that is generate when open new codebehind file. Then i just want to run it, no way, I need to add declaration into codebehind file, that MD compiles, but works in XSP2.

In additonal i test litle more complex page, there i include auto add headers to codebehind files, then compiles with MD, but in XSP2 i got double declaration.

Any idea where might me problem? Shall i report as a bug?

Nice day,
Jan

--
Macs are for those who don't want to know why their computer works.
Linux is for those who want to know why their computer works.
DOS is for those who want to know why their computer doesn't work.
Windows is for those who don't want to know why their computer doesn't work.
Re: ASP.NET and MD problem
country flaguser name
Argentina
2007-04-12 21:04:54
i have the same problem and solve this deleting
"CodeFile=..." in the  .aspx 
file and adding "protected System.Web..." for any
object in the codebehind 
file.
for example...

		protected System.Web.UI.HtmlControls.HtmlForm form1;
		protected System.Web.UI.WebControls.TreeView Treeview1; 
		protected System.Web.UI.WebControls.DataGrid Datagrid1;

desire that you understand to me... my english is very bad
:(

Ezequiel

El Jueves, 12 de Abril de 2007 07:06, PChot escribió:
> Hello
>
> i'm testint asp.net on md 0.13.1.
>
> I experience some problems with compliation of 2.0
.NET
>
> MonoDevelop require "protected System.Web..."
in codebehind file, which is
> absolutly not needed. and xsp2 knows how to diplay
without that. For first
> test I use example file with codebehind, that is
generate when open new
> codebehind file. Then i just want to run it, no way, I
need to add
> declaration into codebehind file, that MD compiles, but
works in XSP2.
>
> In additonal i test litle more complex page, there i
include auto add
> headers to codebehind files, then compiles with MD, but
in XSP2 i got
> double declaration.
>
> Any idea where might me problem? Shall i report as a
bug?
>
> Nice day,
> Jan
_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )