/build/static/layout/Breadcrumb_cap_w.png

Porblem with including a file using the C# code on the master page.

Hi,
I am working on the Intervowen TeamSite content Management system. We developed a master page and here we include a file using the following syntax

 <!-- #include virtual="~/includes/PageCode.incx" --> or  <!-- #include file="/includes/PageCode.incx" --> or  <!-- #include file="~/includes/PageCode.incx" -->

But on our tool teamsite when we generate the page, it supports the ~ syntax. When we deployed this masterpage to the server its giving the error that part of the path was not found.

But using this syntax <!-- #include file="/includes/PageCode.incx" --> on server we are able to open all the pages but on the Teamsite WCM we receive the parse error i.e. path not found

I need to able to preview  on Teamsite as well as at server too. Please help me out to get rid of this issue.

Thank You
Phani


0 Comments   [ + ] Show comments

Answers (0)

Be the first to answer this question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Link

Related Links

Post

Related Posts

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ