Solved

SharePoint 2010 Master Page - Can I Place a SilverLight WebPart on the A4.Master Page?

Posted on 2011-03-25
7
777 Views
Last Modified: 2012-05-11
I've created a SilverLight WebPart that I was hoping have displayed on every page of the site on the left side of the page.  I was thinking that I could use the site's Master Page to do this.  After a bit of reading it appears that this is not possible.  Is this true or is there a work around?
Thanks in advance for your help!
Terry
0
Comment
Question by:wahlster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 9

Expert Comment

by:Justin Imes
ID: 35220806
do you mean V4.master?

I have placed certain silverlight snippets inside v4 master pages

you need to place a control div and if you are using javascript.

<div id="SilverLightTopPanel"><script type="text/javascript"></script></div>

try that, see if it helps
0
 
LVL 5

Expert Comment

by:navdeepmadan
ID: 35220987
Webpart will only get added in the wepart zone. You can create user control
0
 

Author Comment

by:wahlster
ID: 35224886
Thanks for the replies.  Yes, I am thinking that I would modify the V4.Master page.  I have created a SilverLight user control and have been able to place it onto a SharePoint site page but I would like to place in the A4.master page.  While reading on how to modify the master page of a site the book I am reading states the following below.  The books comment leads me to believe that I can't use my control.  Have you be successful in placing a SilverLight user control onto a master page?  I'm hoping yes and that I am just minunderstanding things.

From Book:
Master Pages... also contain most of the content and functionality of normal
pages, including JavaScript , Web Parts (including Data Views and XLV Web Parts), and
components such as the Search box and the Site Actions button. Master pages cannot
contain Web Part zones, however.

Thanks again,
Terry
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

Author Comment

by:wahlster
ID: 35225023
This is what I tried...  Thoughts?
 Master Page Insertion of Web Part Zone Error
0
 

Assisted Solution

by:wahlster
wahlster earned 0 total points
ID: 35225568
Okay, I was able to figure out how to accomplish this (I think).  This is what I did.
I used this link as a reference:
http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/6d307b5f-9267-422a-a9b3-baf99b522211/

1) I place the following while editing in code view:
   <div>THIS IS WHERE THE PART NEEDS TO GO </div>.
2) Saved the page.
3) Then highlight the area (I highlight the text in design view) where I want to place the webpart and did the following:   Insert-->Web Part (From Web Parts Section)-->Media and Content-->Silvelight Web Part.
4) Then in the properties I specified in the URL the location of the xap file (I had deployed this to my site earlier)

It's late so I need to think about this tomorrow but it seems to work.

I'm curious if you guys have any comments on this or further suggestions.  Again thanks for your input.
Terry
0
 
LVL 5

Accepted Solution

by:
navdeepmadan earned 500 total points
ID: 35226564
you can add you user control directly out of your web part zone.
if you have created your control as a webpart, then add it in the web part zone.
If you have ceated a user control then you can place it any where in the master page.
0
 

Author Closing Comment

by:wahlster
ID: 35321783
After some research I was able to find a way to accomplish the task.  My comment provides a description of what I did so it contributed to the solutions.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question