Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SharePoint > SharePoint 2010 > BOOK: Beginning SharePoint 2010 Development
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning SharePoint 2010 Development
This is the forum to discuss the Wrox book Beginning SharePoint 2010 Development by Steve Fox; ISBN: 978-0-470-58463-7
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning SharePoint 2010 Development section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old August 19th, 2010, 07:56 AM
Registered User
 
Join Date: Aug 2010
Posts: 8
Thanks: 0
Thanked 4 Times in 2 Posts
Default

in the sharepoint site do this:

1.Site actions
2. Edit in Sharepoint designer
3. in the left pane, choose master pages
4. right click on the master page you want to work with and choose "check Out" (you can check it back in but version cant be changed while it is checked in)
5. click the master page
6. click "manage all file properties in the browser
7. when browser has loaded, click "edit item"
8. choose version, save, close browser
9. right click master page and check it back in

theres propably another easier way of doing this, and propably several harder, but this worked for me
Reply With Quote
  #12 (permalink)  
Old October 12th, 2010, 02:31 AM
kp2 kp2 is offline
Registered User
 
Join Date: Oct 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs down

Copying and pasting the Wrox_Master_Page.master didn't work for me either.

Got this error message:

Code:
Cannot find ContentPlaceHolder 'PlaceHolderCalendarNavigator' in the master page '~masterurl/default.master', verify content control's ContentPlaceHolderID attribute in the content page.
Is it really that hard for the writers of these books to actually try these simple excercises in the final product ?
Reply With Quote
  #13 (permalink)  
Old October 12th, 2010, 03:05 AM
kp2 kp2 is offline
Registered User
 
Join Date: Oct 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Cool Maybe this'll help somebody

minimal.master, from the book, works with the Collaboration > Blank site template.
Reply With Quote
  #14 (permalink)  
Old October 12th, 2010, 03:14 AM
Registered User
 
Join Date: Aug 2010
Posts: 8
Thanks: 0
Thanked 4 Times in 2 Posts
Default

Quote:
Originally Posted by kp2 View Post
Is it really that hard for the writers of these books to actually try these simple excercises in the final product ?
i think the book was written when the product was in beta, and if it was its not rly possible to try it in the final product.. too bad they dont seem to just wait for the rc
Reply With Quote
  #15 (permalink)  
Old October 12th, 2010, 07:21 AM
Authorized User
 
Join Date: Jun 2010
Posts: 18
Thanks: 0
Thanked 6 Times in 5 Posts
Default

Another problem sees to be that the book was written using a 'used' version of Sharepoint that has had apps and other development work done under it - most of the readers of this book have a brand new install of Sharepoint. System settings should have been posted for the server so users could match the development environment as closely as possible.
Reply With Quote
  #16 (permalink)  
Old October 28th, 2010, 07:33 AM
Registered User
 
Join Date: Oct 2010
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Angry Yep setting SharePoint_2010_Master.master crashes site

Hi

Has anyone found a definitive workaround for this issue other than resetting the default masterpage to v4.master.

Code:
Cannot find ContentPlaceHolder 'PlaceHolderPageTitle' in the master page '~masterurl/default.master', verify content control's ContentPlaceHolderID attribute in the content page. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Web.HttpException: Cannot find ContentPlaceHolder 'PlaceHolderPageTitle' in the master page '~masterurl/default.master', verify content control's ContentPlaceHolderID attribute in the content page.
I have not tried _starter_foundation.aspx from http://startermasterpages.codeplex.com yet which I guess will be my next step. I noticed a post that mentions setting the version in the browser properties - has anyone tried this.

I do like the book but I have found quite a few issues with the samples - I am not sure what dev Env Steve Fox is using but I am using the Sharepoint Info worker evals 2010-7a and 2010-7b.
Reply With Quote
  #17 (permalink)  
Old October 28th, 2010, 08:01 AM
Authorized User
 
Join Date: Jun 2010
Posts: 18
Thanks: 0
Thanked 6 Times in 5 Posts
Default

One thing to remember is that Sharepoint 2010 doesn't support 4.0 .Net.
Reply With Quote
  #18 (permalink)  
Old December 28th, 2010, 11:32 AM
Authorized User
 
Join Date: Jun 2007
Location: , , .
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Default SharePoint_2010_Master.master crash

Just got to this part of the book - read all these posts but getting mixed messages.

I have copied and replaced code from the Wrox_Master_Page.master and as indicated by some of the earlier post, I am also getting the same problem (i.e Cannot find ContentPlaceHolder 'PlaceHolderPageTitle' in the master .......)

So can someone spell out a definitive workaround?

I have not tried _starter_foundation.aspx from http://startermasterpages.codeplex.com yet.

I have also not tried v4.master (incidentally where is v4.master)

Any help would greatly be appreciated.
Reply With Quote
  #19 (permalink)  
Old December 28th, 2010, 01:09 PM
Registered User
 
Join Date: Aug 2010
Posts: 8
Thanks: 0
Thanked 4 Times in 2 Posts
Default

i dont see why u need to find the contentplaceholder for this exercise

"I have also not tried v4.master (incidentally where is v4.master)"

i think i posted a step by step to change version, but if u start the SP designer, in the left side u should see "masters pages" or something similar, u should see v4.master in that list, otherwise u have done something very different from the instructions from the beginning i think.. hope this helps :)
Reply With Quote
  #20 (permalink)  
Old December 30th, 2010, 10:21 AM
Authorized User
 
Join Date: Jun 2007
Location: , , .
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks misken.

Your help appreciated
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting the style sheet of the Master Page dotnetDeveloper BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 August 4th, 2008 09:56 AM
Master Page Method: Code-Behind for Content Page kwilliams ASP.NET 2.0 Professional 3 June 2nd, 2008 12:57 PM
Setting Theme in Master Page rodmcleay General .NET 12 April 9th, 2008 05:24 AM
Master Page and Content Page with Java script Harjinder ASP.NET 2.0 Professional 1 February 1st, 2008 10:31 AM
Access Master page control from Content page. angshujit ASP.NET 2.0 Basics 3 January 11th, 2007 06:20 AM



All times are GMT -4. The time now is 06:07 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.