webparts

How to localize WebParts attributes within the PropertyEditorPart?

Is there any way to localize the text displayed within the PropertyEditorPart? [Personalizable(true), WebBrowsable(true), WebDisplayName("To Date: "), WebDescription("Please enter To Date value.")] public string ToDate { get { return toDate; } set { toDate = value; } } ...

How to validate WebParts attributes?

For the follwing webpart attribute within PropertyEditorPart, is there any way to validate value entered by user? [Personalizable(true), WebBrowsable(true), WebDisplayName("To Date: "), WebDescription("Please enter To Date value.")] public string ToDate { get { return toDate; } set { toDate = value; } } This value rendered to ...

Deploy custom code to Sharepoint 2010 remotely?

I'm relatively new at creating custom content for Sharepoint 2010 and have been having some difficulty understanding how to get non-design related components (ie. web parts, custom classes, ...) into a Sharepoint site. I have created a new visual web part on the company's development server and deployed it successfully from Visual Studio...

Overriding Sharepoint CSS class names in a webpart.

I've been searching high and low for a satisfactory answer to this and failed. I hope StackOverflow can deliver for me! I am using SharePoint Foundation 2010 (my first real attempt to deep dive into SharePoint), with (among other things) a custom web part; the master page for the site uses a CSS file supplied by the client and to which ...

jQuery $(document).ready() not firing

Hi all, Using jQuery 1.4.2 from Google hosted Code. Is there a reason why the following javascript does not fire all 3 document.ready functions when the document is ready? The first $(document).ready() function, which renders headers, and the second, which gives a 'Foo' alert box triggered, but subsequent ones in new <script> blocks ...

Using hyperlink within sharepoint listview

I know I can use sharepoint designer to convert list to data view wp and then i can do this easily. but I wanted to if there was a way to do this with list view wp without intervention of sp designer. I have a order table orderid orderdate 1 1/1/2011 2 2/2/2012 3 3/3/2013 I like to establish hyperlink to the ...

Personalizable web part custom property not shown for users with Contribute permission level

I've create the Web Part for SharePoint 2010, which contains simple custom property with PersonalizationScope.User. Web part inherited from the System.Web.UI.WebControls.WebParts.WebPart private int _mainBodyBorderWidth = 0; [Personalizable(PersonalizationScope.User), WebBrowsable(true), WebDisplayName("Main Body Border W...

I want to develop Sharepoint webpart from my XP. Please guide.

I have installed Virtual PC with Windows 2003 server and installed WSS 3.0 and MOSS 2007 in it. And in my XP i got visual 2010. i have copied all the SP dll files from c:\ windows\assembly of Windows 2003 server to c:\PF\CF\MS\WSE\12\ISAPI of my XP system. Now i am trying to create SP webpart in my VS2010 in XP but it says SP server not ...

Delete link for documents in Sharepoint Document Library

In the Sharepoint Document Library web part, is there a way to have a delete link for each of the files listed? In the regular view of a document library you have a dropdown available when you hover over a filename, but there doesn't appear to be any option to delete a file in the web part. ...

I need to create webpart to display % of project completed from project server value into my share point 2010 page ?

I need to create webpart to display % of project completed from project server value into my share point 2010 page ? ...