Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional Microsoft Office SharePoint Designer 2007 ISBN: 978-0-470-28761-3
This is the forum to discuss the Wrox book Professional Microsoft Office SharePoint Designer 2007 by Woodrow W. Windischman, Bryan Phillips, Asif Rehmani; ISBN: 9780470287613
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Microsoft Office SharePoint Designer 2007 ISBN: 978-0-470-28761-3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old September 3rd, 2009, 07:41 AM
Registered User
 
Join Date: Jan 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trouble with "Return to Sender" Javascript in CHPT 12

I am trying to implement the Retrun to Sender Java Script on Page 317. It says to do the following:

Edit the exsiting script, which should resemeble:

javascript:(ddwrt:GenFireServerEvent('__cancel')}

by apopending

;STSNavigate('{$PageSource}')

I am successful at doing this for the Cancel button, just as it is described in the book. When I add this same fragment for the Save button, I find that the dialog closes, but the commit no longer works. If I do not add this fragment, then the commit works, but the form does not close.

Any help?
  #2 (permalink)  
Old September 3rd, 2009, 08:20 AM
Registered User
 
Join Date: Jan 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default I found the answer in another post to this book...

Not too many posts for this book, but hidden in one of the responses one of the authors, Woodrow Windschman, indicates that this is a known bug and sometimes occurs in SharePoint.

SEE THE RESPONSES TO (Forms in SPD)

Finally, someone points out a good and short article that allows you to do something equivalent using a custom list, instead of a Data View webpart.

SEE (http://www.mysharepointblog.com/post...oint-list.aspx)


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page 417 step 12 "Bound to:" field Dan Cern BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 August 24th, 2009 12:15 PM
Code not going as planned: "icicle" vs "savedinstancestate" joopthecat BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 3 May 3rd, 2009 03:09 PM
Chapter-5 on Intents:ContactPickerTester does not show the button "Pick a Contact" sunilm12 BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 3 April 15th, 2009 11:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.