Microsoft Content Management Server - WebAuthorContextMode problems

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > January 2007 > WebAuthorContextMode problems





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

2007-01-18, 1: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

Stefan Goßner [MSFT]

2007-01-19, 7:19 am

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
>



sc

2007-01-19, 7:19 am

all,
I figured this out!

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com