Microsoft Content Management Server - Re: How to show placeholder contents in different ways in authoring and subscribing (p

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > June 2006 > Re: How to show placeholder contents in different ways in authoring and subscribing (p





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 Re: How to show placeholder contents in different ways in authoring and subscribing (p
Stefan [MSFT]

2006-06-02, 7:17 am

Hi Sumeet,

you can do this but it is not required.
I usually add the logic directly into the template.
something like this:

<% if ((WebAuthorContext.Current.Mode == WebAuthorContextMode.AuthoringNew)
|
(WebAuthorContext.Current.Mode ==
WebAuthorContextMode.AuthoringReedit)) { %>
....
<% } else { %>
....
<% } %>

Cheers,
Stefan

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

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------


<sumeet.advani@gmail.com> wrote in message
news:1149232524.966316.126610@u72g2000cwu.googlegroups.com...
> Hi Stefan,
> Thanks for replying
> for this type of presentation do i have to create a custom control.
>
> Regards
> Sumeet
>
> Stefan [MSFT] wrote:
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com