[Mono-aspnet-list] calling Response.Write() from a nested type

Alberto León leontiscar at gmail.com
Thu Aug 11 12:25:27 EDT 2011

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>

> 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/05c1d532/attachment.html 

More information about the Mono-aspnet-list mailing list