[Mono-aspnet-list] calling Response.Write() from a nested type
Alexander M. Batishchev
abatishchev at godfather.net.ru
Thu Aug 11 14:41:20 EDT 2011
Actually you can get some sort similar to PHP approach using ASP.NET MVC,
From: mono-aspnet-list-bounces at lists.ximian.com
[mailto:mono-aspnet-list-bounces at lists.ximian.com] On Behalf Of Alberto Leon
Sent: Thursday, August 11, 2011 8:25 PM
Cc: mono-aspnet-list at lists.ximian.com
Subject: Re: [Mono-aspnet-list] calling Response.Write() from a nested type
ASP.NET webforms isn't PHP!!!
in php you can use php files for scripts and content and then import it.
But in ASP.NET you should write usercontrols. (*.ascx)
I can't help you to work in asp.net as you worked in php.
2011/8/11 mostafaxx <mostafa_alshrief at yahoo.com>
like i said Im a PHP developer ,so i don't know much about server controls
,i prefer to write the HTML code by my self thats faster and more easy to
if i can't call Response.Write() from a nested type
maybe i can define a class at the index page and also the same class as a
partial class at the application.aspx page
but i got the same compiler error this time from the index page
i can't call non static member Response.Write() from nested type
hmmm i thought asp.net is object oriented ????
View this message in context:
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
Mono-aspnet-list mailing list
Mono-aspnet-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-aspnet-list