Webpart feature not adding Description

I am adding a webpart to the webpart gallery as part of a feature within a solution.

When the webpart is added to the gallery, the webparts Description field is being overwritten by an empty string.

I have added a description to everywhere I can think of, including:

  1. The webpart itself. myWebpart.webpart <property name="Description" type="string">my description</property>
  2. The feature.xml Description="mywebpart description"
  3. The feature.xml <Property Key="Description" Value="mywebpart description"></Property>
  4. The webpartManifest.xml (specified in the feature) <File ...><Property Name=Description" Value="mywebpart description">

I have run out of ideas of where to put the description so it will appear in the Description field of the web part gallery when the solution is deployed.

Do you have any ideas?


Check the following blog, it describes the whole process: Adding custom webparts in a Sharepoint Site Definition

Specially notice the custom property TextToDisplay (I think you've gone through all the other steps).

Need Your Help

Slow UITableView scrolling

iphone ios4 uitableview scroll

Edit----- i done the same code on english record scrolling speed remain fast as usual and its working fine, but when i am fetching Arabic data scrolling is slow again. is this a problem with arabic

Using NServiceBus in a Web Application

web-applications nservicebus

Another question on the Using NServiceBus with Asp.Net MVC 2 thread. Udi has replied saying following method can be used if we really want to do it.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.