Tag Info

Hot answers tagged

1

I think the issue is the value your retriving is not getting it at the correct moment first time round. Thats why on the second postback it would get the correct item value and its loaded within the context properly. have you tried calling the method out of the page load event? so at bottom code just do showStatusAlert(); instead. or use this method ...


1

On a teamsite for instance - do the following: Activate the following features: Site Collection Features - SharePoint Server Publishing Site Features - SharePoint Server Publishing ~ Navigate to the page library (Pages) ~ Create a new page ~ Set the new page as the welcome page of your site ~ Delete the SitePages library From now on, you will fully use ...


1

For reference to others, I had this exact same issue. I was getting it in within a Console application on a specific environment, where I copied Publishing Pages from one site collection to another, iterating over a list of sources and destinations. My utility also copied web parts, and for some reason I thought I had to Fake the SPContext (Google it, your ...



Only top voted, non community-wiki answers of a minimum length are eligible