WebAuthorContextMode problems
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 > WebAuthorContextMode problems




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

    WebAuthorContextMode problems  
sc


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


 
01-18-07 06:15 PM

I have a piece of code that checks what mode the user is in:

if (wbcmode.Mode != WebAuthorContextMode.AuthoringReedit &&
wbcmode.Mode != WebAuthorContextMode.AuthoringNew)
{
message.Text = "Live Mode";
}
else
{
message.Text = "Author Mode";
}

This works intermittently. Sometimes the label appears in Author mode,
sometimes it doesn't.
Sometimes if I move the label closer to the placeholder in the file it
works the next time I view the file in Authoring mode. No real pattern.
Is this a caching problem. I have cleared my browser history, cache,
etc. But it still doesn't work. Any ideas? txs






[ Post a follow-up to this message ]



    Re: WebAuthorContextMode problems  
Stefan Goßner [MSFT]


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


 
01-19-07 12:19 PM

Hi Sc,

what is wbcmode in your code below?

Cheers,
Stefan


"sc" <sonyacooley@vodafone.ie> wrote in message
news:1169138308.915585.146660@v45g2000cwv.googlegroups.com...
>I have a piece of code that checks what mode the user is in:
>
> if (wbcmode.Mode != WebAuthorContextMode.AuthoringReedit &&
> wbcmode.Mode != WebAuthorContextMode.AuthoringNew)
> {
> message.Text = "Live Mode";
> }
> else
> {
> message.Text = "Author Mode";
> }
>
> This works intermittently. Sometimes the label appears in Author mode,
> sometimes it doesn't.
> Sometimes if I move the label closer to the placeholder in the file it
> works the next time I view the file in Authoring mode. No real pattern.
> Is this a caching problem. I have cleared my browser history, cache,
> etc. But it still doesn't work. Any ideas? txs
>







[ Post a follow-up to this message ]



    Re: WebAuthorContextMode problems  
sc


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


 
01-19-07 12:19 PM

all,
I figured this out!






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:24 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