Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning SharePoint Designer 2010
This is the forum to discuss the Wrox book Beginning SharePoint Designer 2010 by Woodrow W. Windischman, Bryan Phillips, Asif Rehmani, Marcy Kellar; ISBN: 978-0-470-64316-7
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning SharePoint Designer 2010 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 Display Modes
  #1 (permalink)  
Old August 10th, 2011, 11:33 AM
Registered User
Points: 24, Level: 1
Points: 24, Level: 1 Points: 24, Level: 1 Points: 24, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2011
Location: Birmingham, United Kingdom
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to stephenbooth_uk Send a message via Skype™ to stephenbooth_uk
Unhappy Interactive Buttons?

We're currently in the process of moving from WSS 3.0 (aka Sharepoint 2007) to Sharepoint 2010. Most of our WSS 3.0 sites have dashboards or similar pages built in Sharepoint Designer 2007 (SPD 2007). We use a lot of Interactive Buttons (graphical buttons with hyperlinks attached, much better looking than the plain grey HTML/ASP style buttons and we can manually build the URL) in these dashboards, in SPD 2007 these can be inserted from the Insert menu. The dialog lets you select the style of button, text that appears on the button, size, hyperlink URL and other attributes then when you click OK it creates the button image (including a 'pressed' image) and inserts the code.

Now we're moving to Sharepoint 2010 and SPD 2010 I'm not able to find how to insert these. I've tried just poking around, searchignthe help system and looking through the book this forum is attached to (mostly the index and then flicking through to see if I could see a screen shot of a page with one of these buttons). No joy. Are they still available? We use a lot of them so I hope they haven't been dropped.

I know I could build the buttons manually in a graphics package and insert them, but that would add literally days to the time taken to build one page.

Stephen
Reply With Quote
  #2 (permalink)  
Old August 11th, 2011, 09:08 AM
Registered User
Points: 24, Level: 1
Points: 24, Level: 1 Points: 24, Level: 1 Points: 24, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2011
Location: Birmingham, United Kingdom
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to stephenbooth_uk Send a message via Skype™ to stephenbooth_uk
Cool Found a solution.

Found the solution to inserting Interactive buttons. Insert Interactive Button is there, just not on any ribbon by default.

To get it on a ribbon where it's usable:
  1. Select the ribbon you want to add it to (I'd suggest the Insert ribbon).
  2. Right click on an empty area of the ribbon
  3. Select "Customize this Ribbon", this opens the SharePoint Designer Options dialogue on the Customize ribbon item.
  4. In the right hand side make sure the correct ribbon is selected in the list.
  5. You cannot add items to existing groups (for Interactive Buttons the Controls group would be logical) so click on the New Group button just below the box listing the ribbons.
  6. Right click on the newly created group and select Rename.
  7. Enter the name name you want for the group and, if you want, select a graphic to associate with it.
  8. Make sure that the new group is selected and on the left column choose 'All Commands' from the Choose Commands From drop down.
  9. Scroll thought he list of comands in the list box below the drop down. Select the commands you want (they're in alphabetical order, Interactive Button is about half way down)and click the Add>> button for each one.
  10. Click the OK button.
  11. You should now have a group on the ribbon including the commands you selected.

Given some of the options that are there I think Microsoft need to reassess their priorities for what makes it to the ribbon by default and what doesn’t.

Stephen
Reply With Quote
  #3 (permalink)  
Old August 12th, 2011, 08:05 AM
Registered User
Points: 31, Level: 1
Points: 31, Level: 1 Points: 31, Level: 1 Points: 31, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2011
Posts: 9
Thanks: 3
Thanked 1 Time in 1 Post
Unhappy Thanks but I have a problem

Thanks for sharing your suggestion. I have followed you instructions and the Interactive Button is now on the ribbon but it is grayed out. Any idea what i need to do to get it active? i have clicked in several different spots on my page, but it stays inactive.

Upon further investigation, i have discovered that the Insert Interactive Button ribbon item is active on a new plain aspx page, but it won't activate on the home.aspx page for my site or on a new Web Part page. Any idea what might be causing this behavior?

TIA
Dean

Last edited by DLGross; August 12th, 2011 at 08:29 AM. Reason: adding additional information
Reply With Quote
  #4 (permalink)  
Old August 12th, 2011, 08:49 AM
Registered User
Points: 24, Level: 1
Points: 24, Level: 1 Points: 24, Level: 1 Points: 24, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2011
Location: Birmingham, United Kingdom
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to stephenbooth_uk Send a message via Skype™ to stephenbooth_uk
Default Greyed out

When a button is greyed out it usually means that it can't be used in the current location on the page. Can you insert a table or form on to the page? If so try it and see if you can insert an interactive button within it.

Stephen
Reply With Quote
  #5 (permalink)  
Old August 12th, 2011, 09:20 AM
Registered User
Points: 31, Level: 1
Points: 31, Level: 1 Points: 31, Level: 1 Points: 31, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2011
Posts: 9
Thanks: 3
Thanked 1 Time in 1 Post
Default

I can add a table and many other controls, i just can't figure out what is keeping the interactive button from activating, it is strange.
Reply With Quote
  #6 (permalink)  
Old August 12th, 2011, 12:04 PM
Registered User
Points: 24, Level: 1
Points: 24, Level: 1 Points: 24, Level: 1 Points: 24, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2011
Location: Birmingham, United Kingdom
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to stephenbooth_uk Send a message via Skype™ to stephenbooth_uk
Lightbulb Are you using Advanced Mode?

I've just tested it our myself and it appears that you have to be editing in Advanced Mode to insert an Interactive Button (which does make sense).

If you are then try this:
Create a new aspx page in Sharepoint Deisgner and open it in Advanced Mode then select Split view (if you don't have this as the default). In the code pane I'd expect to see something like:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@ Page Language="C#" %>
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">
<meta name="WebPartPageExpansion" content="full" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled 1</title>
<meta name="Microsoft Theme" content="Wheat 1011, default">
</head>

<body>

<form id="form1" runat="server">
</form>

</body>

</html>
In the Code pane click at the end of the line that reads
Code:
<form id="form1" runat="server">
, this ensures that you are within the form. Your insert 'Interactive Button' button on the ribbon should now be active.

If this doesn't work then I suspect there's something wierd with your installation of SPD, I'm using Out-Of-The-Box SPD downloaded a couple of months ago, if it does then the isse may be with the page you are trying to edit or you are not editing in Advanced Mode. I've just tested it our myself and it appears that you have to be editing in Advanced Mode to insert an Interactive Button (which does make sense).

Hope this helps.

Stephen
Reply With Quote
  #7 (permalink)  
Old August 12th, 2011, 12:30 PM
Registered User
Points: 31, Level: 1
Points: 31, Level: 1 Points: 31, Level: 1 Points: 31, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2011
Posts: 9
Thanks: 3
Thanked 1 Time in 1 Post
Question

Thanks that did the trick, but now when the page loads, the graphics don't display, when i saved the page i selected the site collection images library, i see the image files in that library, but when i look at the image in spd, the path got removed. Any idea why that would have happened or how to prevent it?
Reply With Quote
Reply


Thread Tools
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
java interactive look ruzdi Pro Java 1 February 7th, 2009 05:45 PM
Interactive sort in hidden tables golliaph Reporting Services 0 August 18th, 2008 06:21 AM
How to make interactive voice system gaurav_jain2403 ASP.NET 2.0 Professional 0 August 13th, 2007 12:36 PM
Interactive sort rejoin2me ASP.NET 2.0 Basics 0 July 3rd, 2007 08:49 AM



All times are GMT -4. The time now is 08:16 PM.


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