Solved

Sharepoint 2010 Silverlight Webpart

Posted on 2010-11-19
1
651 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Add Context Menu Item 4 72
Sharepoint 2010 Auditing 4 35
Sharepoint Online 5 46
SharePoint 2016 Licensing - the same as 2013? 7 24
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…
The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

828 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