webparts

Can not find project web item (ERROR)

I am using SmartPart (http://www.codeplex.com/smartpart) to add web parts to SharePoint. When I open the *.ascx file with visual studio it doesn't display the design of the control showing the error however it runs well when it is added to share point. But I need to see the design to be able to add controls through tool box visually not ...

Order of calling of CreateChildControls() and ApplyChanges() methods in a SharePoint web part

I am creating a web part for SharePoint. I have a custom editor part which is overriding the SyncChanges() and ApplyChanges() methods (among others). The problem is that when I click OK in edit mode, the page is switched to browse mode, but data (propeties) which were changed in the EditorPart and saved in the ApplyChanges() method are ...

Question web part

Hello, I'm a newbie to SharePoint development. I have a task to develop a web part with the functionality of a questionnaire. The administrator creates a questionnaire. Then the users fill in the questions. Later, the administrator can access the results for each user and build some reports from it. It is difficult for me to imagine h...

Ajaxifying WebParts in a dynamically created WebpartsZone

I'm trying to automatically "ajaxify" (i.e. having the control only update itself on postback) the WebParts on a aspx-page. The WebPartZone which the WebParts are in is dynamically created in the codebehind and it then loads its WebParts based on a personalization-database (all that is handled by EPiServer's class ZoneLowUiImpact, which ...

How can I restrict what web parts show up in the Add Web Parts window?

I'd like to expose a web part to some users, but not all of them. How can I show or hide a web part in the Add Web Parts pop up window? I'd like to do this through code, and I'm hoping to use SharePoint Roles to make this happen. ...

Sharepoint : Find a list based on a content type in a web part?

Is it possible to find, in a Web Part, if a list is made from a specific content type? Or, find all lists that are from a specific content type would do the trick too! ...

User controls as "screens" in a webpart

Hello! I'm workin on my first webpart. I use some number of user controls as screens. And I have a trouble here. First screen contains a list of dynamically created options (hyperlinks). After user made a decision with click, I want to change the screen and pass to the new screen some parameters. My dicision is to load all controls I...

SharePoint List Of Recently Updated Pages

Hello all. I am trying to find a way to inform a group of users whenever any of the pages in our SharePoint site are updated. Originally we were going to use alerts, but we have numerous subsites in our site. This means (to the best of my knowledge) that we will have to set up alerts for every subsite. This is not an option because...

Sharepoint webpart upload file whitout using "runat server"

For uploading a file in sharepoint I use a webpart and an automatically generated form. the tag for the upload file: <input type="file" id="uploadfile" name="uploadfile" /> When I try to pick it up after posting, the file isn't accessible with the Request.Files attribute (Request.Files["uploadfile"]). (Request.Files looks like null o...

How to detect which ASP.NET (not sharepoint) webparts a user currently is using?

We're using ASP.NET webparts in our application and I want to prevent the user from adding the same webpart twice from the catalog if they already have an instance on the page. I know that I can intercept the add by hooking up to the WebPartAdding event of the WebPartManager object and canceling the event, I just need to know how to pee...

Could Not Load File or Assembly Sharepoint 2007 WebPart

Hey SO: I am playing around with Sharepoint 2007. I have a virtual machine (win server 2k3) with an instance of sharepoint server 2007 running on it. I am now working on creating web parts. I have successfully created simple ones, such as this one that displays text: public class SimpleWebPart : WebPart { private string _displayTex...

Disable WebPart menu toolltip

When using the popup menu on a WebPartZone - I've set the MenuPopupImage property to some url and the WebPartVerbRenderMode to Menu - a tool tip is shown whenever I hover over the menu image. Is says 'Verbs'. This is not very helpful. How do I get rid of it or change it in some meaningful words? ...

Only one web part added to the wp gallery when multiple webpart files specified in module

I'm trying to deploy multiple web parts as part of the same feature. SharePoint itself seems to do this quite happily by specifying multiple File elements in a single Module element (see C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\SearchWebParts); in my case, only the first web part is added ...

Sharepoint: Communication between WebPart and silverlight control

Is there any way to send notifications from the webpart to silverlight control hosted in the same webpart? ...

ASP.NET 3.5 Web parts, with Oracle 10g

Hi i am using Web Parts in my ASP.NET website. My database is Oracle 10g Enterprise. I wouuld like to know how can i use webparts with Oracle 10g ? How web parts information stoes for authenticated user in database? I am using ASP.NET Form authentication Does it make any performance impact in website? Best practice for improving perfo...

MOSS 2007, C#, Web Part - Log Retrievel using LinkButtons

Technology: SharePoint/MOSS 2007 -- IDE: Visual Studio 2008 -- Language: C# I have created a SharePoint/MOSS 2007 web part that displays a list of log files. The log files are rendered on screen as LinkButtons. The LinkButtons are within a DataTable that is set as the data source of a SPGridView and bound to it. This SPGridView objec...

Does anyone know where I can define this URI parameter?

This happens when I try to deploy a Sharepoint WebPart solution. Is there a file or configuration option that I have missed that is causing this error to occur? Thanks. ...

Page Viewer Web Part

I wanted to know if, 1. We can view a section/portlet of an external portal/Web Application? Using Page Viewer Web part we get a full view of the web application but I would like to ONLY view a section/portlet of the external web page. Is this possible? 2.How to achieve session aware Page viewer web part a. For e.g., i. I have l...

WebPart "metadata"?

I have not worked with webparts for sharepoint before, but need to make change to a webpart, that needs to be propagated to some 700 websites. It is a change to one of the properties of the webpart, the value needs to be changed. Is there a way to get metadata for a webpart and change it directly in the database (I assume that is where i...

Telerik RadGrid Export to Excel. Missing operand before '=' operator.

I am getting the error Missing operand before '=' operator. when I try and export and the code is running fine in the grid. Here is the code for the web part. The error only occurs on the rebind. It works fine in the grid itself. Is there any way to narrow down the exact thing it is erroring on? I am willing to pay for a support / so...