[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,
especially Razor.

 

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
To: mostafaxx
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.
Sorry

2011/8/11 mostafaxx <mostafa_alshrief at yahoo.com>

hi

like i said I’m a PHP developer ,so i don't know much about server controls
,i prefer to write the HTML code by my self that’s faster and more easy to
customize ,

any way..

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:
http://mono.1490590.n4.nabble.com/calling-Response-Write-from-a-nested-type-
tp3733477p3736278.html

Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
_______________________________________________
Mono-aspnet-list mailing list
Mono-aspnet-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20110811/ecbad7db/attachment-0001.html 


More information about the Mono-aspnet-list mailing list