Solved

Sharepoint 2010 Silverlight Webpart

Posted on 2010-11-19
1
635 Views
Last Modified: 2012-05-10
How do you access the code in this type of webpart that is installed on a Sharepoint farm to edit it?
0
Comment
Question by:Jack_son_
1 Comment
 
LVL 3

Accepted Solution

by:
Nomoho earned 500 total points
ID: 34225115
Hello,

It is not allowed to edit Microsoft native webparts, but you can create another one or override them (if they are not sealed).

Here is the method:
- go to your webparts galery
- find the file of your webpart you are looking for (.webpart or .dwp)
- click on the button edit
- click "view xml" to download the xml declaration of the webpart
- you have here the assembly and the class name
- use reflector to make a copy of this class and edit it or inherit the class for making overrides (only if the class is not sealed)
- after you have created your new webpart class, deploy it in another .webpart or .dwp

=> Never edit Microsoft native code, just create your own by copying/overriding. It's important to prevent any problems when installing sharepoint updates.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
Back in July, I blogged about how Microsoft's new server pricing model, combined with the end of the Small Business Server package, would result in significant cost increases for many small businesses (see SBS End of Life: Microsoft Punishes Small B…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

863 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

18 Experts available now in Live!

Get 1:1 Help Now