Microsoft Content Management Server - user control as template file

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > November 2004 > user control as template file





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author user control as template file
Nikolaj

2004-11-04, 5:48 pm

I have noticed that I can choose a *.ascx file instead of an *.aspx file when
choosing a template file for my mcms template. What does this imply?

My hope is that this enables me to do something that I havn't been able to.
Namely to have more than one posting displayed on a page (without using
frames). So far I have the impression that posting = page in mcms, which
annoys me a bit. Have I missed some basic concept?
Stefan [MSFT]

2004-11-04, 5:48 pm

Hi Nikolaj,

posting = page is correct.
To display content from different postings on one page you could use this
server control:
http://www.gotdotnet.com/Community/...b9-8b395b722f24

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...t+S
erver

MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"Nikolaj" <Nikolaj@discussions.microsoft.com> wrote in message
news:A4CE0133-E364-4E5D-B0F3-DA24A56CC64D@microsoft.com...
> I have noticed that I can choose a *.ascx file instead of an *.aspx file

when
> choosing a template file for my mcms template. What does this imply?
>
> My hope is that this enables me to do something that I havn't been able

to.
> Namely to have more than one posting displayed on a page (without using
> frames). So far I have the impression that posting = page in mcms, which
> annoys me a bit. Have I missed some basic concept?



Nikolaj

2004-11-04, 5:48 pm

Thanks for your answer.

So why can I associate a template with a template file which is a user
control? Trying to create a posting based on this "user control template"
gives an error in the browser.


"Stefan [MSFT]" wrote:

> Hi Nikolaj,
>
> posting = page is correct.
> To display content from different postings on one page you could use this
> server control:
> http://www.gotdotnet.com/Community/...b9-8b395b722f24
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> MCMS FAQ:
> http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
> MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
> MCMS Sample Code:
> http://www.gotdotnet.com/community/...t+S
erver

> MCMS Whitepapers and other docs:
> http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
> --------------------------------
>
>
> "Nikolaj" <Nikolaj@discussions.microsoft.com> wrote in message
> news:A4CE0133-E364-4E5D-B0F3-DA24A56CC64D@microsoft.com...
> when
> to.
>
>
>

Stefan [MSFT]

2004-11-04, 5:48 pm

Hi Nikolaj,

actually it does not make sense to do this.
Maybe a GUI bug.

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...t+S
erver

MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"Nikolaj" <Nikolaj@discussions.microsoft.com> wrote in message
news:0863F60C-5378-4AA7-B27F-83A392C65BEE@microsoft.com...[vbcol=seagreen]
> Thanks for your answer.
>
> So why can I associate a template with a template file which is a user
> control? Trying to create a posting based on this "user control template"
> gives an error in the browser.
>
>
> "Stefan [MSFT]" wrote:
>
this[vbcol=seagreen]
http://www.gotdotnet.com/Community/...b9-8b395b722f24[vbcol=seagreen]
rights.[vbcol=seagreen]
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm[vbcol=seagreen]
http://www.gotdotnet.com/community/...t+S
erver
[vbcol=seagreen]
file[vbcol=seagreen]
able[vbcol=seagreen]
using[vbcol=seagreen]
which[vbcol=seagreen]


Angus Logan [MVP]

2004-11-05, 2:46 am

Hi Nikola,

I think it is a bug in template explorer.

Regards
--
________________________________________


Angus Logan (MCAD/MCDBA/MCP/MVP for MCMS)
Product Specialist
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
________________________________________

"Nikolaj" <Nikolaj@discussions.microsoft.com> wrote in message
news:A4CE0133-E364-4E5D-B0F3-DA24A56CC64D@microsoft.com...
>I have noticed that I can choose a *.ascx file instead of an *.aspx file
>when
> choosing a template file for my mcms template. What does this imply?
>
> My hope is that this enables me to do something that I havn't been able
> to.
> Namely to have more than one posting displayed on a page (without using
> frames). So far I have the impression that posting = page in mcms, which
> annoys me a bit. Have I missed some basic concept?



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com