Solved

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

Posted on 2011-03-25
7
768 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
  • 4
  • 2
7 Comments
 
LVL 9

Expert Comment

by:Justin Imes
Comment Utility
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
Comment Utility
Webpart will only get added in the wepart zone. You can create user control
0
 

Author Comment

by:wahlster
Comment Utility
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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Author Comment

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

Assisted Solution

by:wahlster
wahlster earned 0 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
There is one common problem that all we SharePoint developers share: custom solution deployment. This topic can't be covered fully in this short article, so all I want to do in this one is to review it from a development-to-operations perspectiv…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

728 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now