Re: content pages and code behind

Rich Armstrong <[email protected]> Wed, 11 Jul 2007 11:44:58 -0500
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <000001c7c3da$d24df640$76e9e2c0$@com>
>> ... I have a page directive [that] does not support a Codebehind attribute.

True, but it does support a CodeFile attribute and an Inherits attribute.

-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
[mailto:[email protected]] On Behalf Of Smotritsky, Alex
Sent: Wednesday, July 11, 2007 11:10 AM
To: [email protected]
Subject: Re: [DOTNET-WEB] content pages and code behind

How do they support codebehind then? In the content page I have a page
directive which references the master page and does not support a
Codebehind attribute. A second page directive is not allowed. And when I
double click a button control in the content page the server side
handling method is generated in the .aspx file.

-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
[mailto:[email protected]] On Behalf Of Efran Cobisi
Sent: Wednesday, July 11, 2007 10:42 AM
To: [email protected]
Subject: Re: [DOTNET-WEB] content pages and code behind

If you are referring to pages that contain ContentPlaceholder control
istances then afaik no, it isn't correct.
Hope this helps.

--
Efran Cobisi
http://www.cobisi.com

Smotritsky, Alex wrote:
> Is it correct to say that content pages do not support code behind?
>
>
>
>
>
>
> ===================================
> This list is hosted by DevelopMentor(r)  http://www.develop.com
>
> View archives and manage your subscription(s) at
http://discuss.develop.com
>

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com

View archives and manage your subscription(s) at
http://discuss.develop.com

===================================
This list is hosted by DevelopMentorR  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com