Browse by Tags

All Tags » WebPart (RSS)
By now, you have heard about how the SharePoint 2010 development experience has been improved.  We can easily deploy web parts and other code without having to manually manipulate any XML files.  What about under partial trust though? ...
You might have seen that there is a new designer for working with web parts in Visual Studio 2010.  This is actually, not quite the case, so I thought I would share with you how it actually works.  When you use the Visual Web Part SPI (SharePoint...
UPDATE: Building Web Parts in SharePoint 2010 I've recently helped out a number of developers new to SharePoint and I found that I have been often asked the same types of questions. Most of those involve getting started and deployment, so today, I...
Since I am talking about Implementing Partial Trust using Code Access Security this week, I thought I would talk about the following error when using a web part that doesn't have code access security set on it. System.Security.SecurityException: Request...
Let's face it, any new SharePoint developer is going to run into an error such as the one below when starting out. [WebPartPageUserException: Cannot import MyWebPart Web Part.] at Microsoft.SharePoint.WebPartPages.WebPartImporter.CreateWebPart(Boolean...
In the past when I thought of how to do this, I tended to over analyze it a bit. I always assumed there was something special in how you do this, but in reality, it is not much different than adding web parts to a new page. I am not sure if this is the...
with no comments
Filed under: , ,
I have found that when working with web parts one of the most painful experiences is dealing with one when the version of the DLL changes. This is never fun. In this case I am assuming you are deploying a .webpart file via feature using a solution package...
with no comments
Filed under: ,
As a new SharePoint developer, you will be directed to install your first Hello World web part in the GAC. Right now red flags should be going off for any non-noob developer. This allows your code to operate with Full Trust (which is bad). To properly...
More Posts « Previous page