Re: How to show placeholder contents in different ways in authoring and subscribing (p
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Re: How to show placeholder contents in different ways in authoring and subscribing (p




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: How to show placeholder contents in different ways in authoring and subscribing (p  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-02-06 12:17 PM

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: 
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:29 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register