sharepoint

People Picker AllowEmpty Property

Hello All, I am using the people picker user control of SharePoint in my aspx page. I have set the AllowEmpty property of people picker control as false. But, still the required field validation is not occurring for the control. I don't want to use a required field validation control explicitly for validating this. Any insights? Rega...

Quiz creator and sharepoint

Hi there i want to use a quiz creator software like quiz creator or articulate My problem is that i want to save quiz results to sharepoint lists. like : quizname : xx quiztaker: yy quiztime : x correct answers: 5 wrong answers : 7 etc. Is there any way to achieve this,or is there any open source .net quiz maker like these utilities to ...

How to add gridview into pop up window ????

Hi All . I want to add my grid view into pop up window. My grid view consist of radio buttons. so i want to select one of radio button and take clicked button's text value to my web page. Any one can tell me to create pop up to my sharepoint web part. cheers !!!! Chinthaka ...

What is a good reference book on how to create custom claims in sharepoint2010 using Visual Studio2010

I have a claims based sharepoint2010 application. It is configured using LDAP role and membership provider and both windows and form logins are working perfectly. Is there a good reference book on how to create custom claims and add to the claims collection? I have followed Steve’s blog on how to write custom claims. I followed every st...

SharePoint BDC Return Value

I have the following BDC method to insert new spending plans. I'm trying to return the last insert primary key so I can reference it in another table. Does anyone know how to return the last primary key inserted using the BDC? I know how to do it in SQL, but I can't see to figure out how to do it through SharePoint. <Method Name=...

Page Inheritance in custom Sharepoint Application

I have a default.aspx in a folder _layouts/sandbox on the sharepoint server. It has the following code: using System; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI...

Deploy Web Part Into windows server 2008 R2.

Hello, I have build one employee directory webpart that gets necessary information of user from sharepoint site. i have deployed in my testing server "Windows Server 2003 and Moss2007" and it's work fine. When i tried to deploy on my production server "Windows Server 2008 R2 with Moss2007". It give me security error. Request for the p...

Updating User field in SharePoint

Hello All, I am harnessing batch update of SharePoint list in order to update my list items. I have a field of SPUser type named as 'UserName'. If i try to update the value of that particular field using batch, am obtaining unexpected error. I tried out both the username as well as the ID of the user. It was futile. How could I updat...

Scope of a feature activated Custom Sharepoint-Timer Job

Hey... So I'm developing a custom timer job for sharepoint using the SPJobDefinition. This job is activated through a feature receiver. As I understand it the SPJobDefinition runs on the web-application. if the feature scope is site or web based, is there any way code-wise to determine which site the feature is activated through in t...

Set selected value in a SharePoint Dropdown list

We are using SharePoint 2010 Foundation. We have an item in a list that is a dropdown with values from another list. When we access the list as a SharePoint list it works fine, we can select a value, save the list, the next time we access the list the correct value is selected. We have programmed a form that will updated the list. Whe...

sharepoint data sheet view

Hi Experts, I am importing data from Excel into Sharepoint list using "Datasheet view". When i paste the data, I get error message "Cell is read only." for readonly fields. Is there a way to import data into readonly fields. Thanks ...

site not found for few seconds in sharepoint

MySites in SharePoint everyday for few seconds(15-30) showing site not found and after that everything is fine..site is up and running. I checked all the WFE to check any errors in event log and I cannot see any errors....Any idea how i can troubleshoot this issue? ...

Keeps prepending several images

I'm working on SharePoint with jQuery and each time I use the prepend() function in combination with the each() function in order to display a image before each cell in a list, I get several of those images. More specifically, the amount of those images matchs the amount of items in the list. I bet that's a clue to what's going on, but ...

Mouse hover using jquery

Hi My code in content editor web part is something like below But I am getting description for all hyperlinks even if i mouse over on first item. Please let me know how to change the code in such a way so that it only displays the discription of the item iam hovering on. Please let me know if i am not clear. My code from XSL: Thanks,...

Using code compiled for MOSS 2007 in 2010

I'm using the SPGridView in a custom page which has been deployed via SharePoint Designer. Now in 2007 everything worked fine but in 2010, the paging doesn't work and results in an error if you try and move to the next page so my question is; When using custom code compiled for 2007 assemblies, does SharePoint use the 2007 controls (SPG...

Custom function for WSS 3.0 calculated columns

Is there any way I can add a custom function to WSS 3.0 that can be used in calculated fields? For example, I want to add a function that URL Encodes strings, so that the users can create columns with the URLs based on the other fields something like this: "http://www.test.com?fname="&amp;URLENCODE([FirstName])&amp;"&amp;lname="&amp;U...

Ajax inside MOSS 2007 Web Part

Hi Guys, I am creating a web part in MOSS 2007 that contains an autocompleteextender. I have ajax-enabled my site by adding all the configs in web.config (Example here) My web service: [System.Web.Script.Services.ScriptService] public class AutoComplete : System.Web.Services.WebService { [System.Web.Services.WebMe...

Sharepoint 2007 DateTime column default value ?

Hi all I have a list with a DateTime column. I want to set the default value of the field to be like this December 01, 2010 1:00 PM what is the formula to achieve that ? thanks ...

whether visual studio 2008 extensions available for sharepoint 2010?

In visual studio 2008 is have any plugines or extensions (executable file) for the sharepoint 2010 ...

Sharepoint development admin page

I have created a wspbuilder project and I have a a small application(working) that returns documents that use a certain content tpye. However creating an admin page is proving somewhat difficult. I imported an aspx page in to my project and have the page in the layouts folder which i believe to be correct. If i add control in to the as...