[Mono-devel-list] Master Pages

Johann Blais jblais at perinfo.biz
Wed Jun 8 11:21:21 EDT 2005


I compiled mono and xsp from sources, and I am using xsp2 to view my
pages.


-----Message d'origine-----
De : Rafael Teixeira [mailto:monoman at gmail.com] 
Envoyé : mercredi 8 juin 2005 16:39
À : jblais
Cc : mono-devel-list at ximian.org
Objet : Re: [Mono-devel-list] Master Pages

Have you compiled Mono form SVN for the 2.0 profile? If not, the
tentative 2.0 features won't be available...

Current Mono releases (installable packages) track .NET 1.1, not the
unreleased (beta) .NET 2.0.

:)

On 6/8/05, jblais <jblais at perinfo.biz> wrote:
>  
>  
> 
> Hello, 
> 
>   
> 
> I'm trying to use a new ASP.NET 2.0 feature, Master Pages. I'm having
few
> problems. 
> 
> First : I have created a master page with a public property. I need to
> access the property from the content pages, so I add the following tag
<%@
> MasterType VirtualPath="~/MyMasterPage.master" %> in my
> content page. I end up with an "Only one page allowed" error, when I
try to
> access the content page. 
> 
> The fact is it works fine under Visual Web Dev Express. Do I miss
something?
> 
>   
> 
> Second minor problem 
> 
> I define a contentplaceholder in the master page, I place a default
message
> between the beginning and closing tag. 
> 
> In a content page I do NOT define a content referencing the
> contentplaceholder of the master page, the default text is displayed,
it is
> normal behaviour. 
> 
> In another content page I DO define a content referencing the
> contentplaceholder and affect a message, the default text message is
> displayed along with the overriding message, but it should not display
the
> default message. Does someone has an explanation ? 
> 
>   
> 
> Thanks. 
> 
> Regards. 
> 
>   
> 
> Johann BLAIS <jblais at perinfo.com> 
> 
>   
>  
> 
> ---
>  Outgoing mail is certified Virus Free.
>  Checked by AVG anti-virus system (http://www.grisoft.com).
>  Version: 6.0.824 / Virus Database: 562 - Release Date: 28/12/2004
>  
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> 
> 


-- 
Rafael "Monoman" Teixeira
---------------------------------------
I'm trying to become a "Rosh Gadol" before my own eyes. 
See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.
It hurts!

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.824 / Virus Database: 562 - Release Date: 28/12/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.824 / Virus Database: 562 - Release Date: 28/12/2004
 




More information about the Mono-devel-list mailing list