.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

SharePoint 2010- Custom Fields Like Rating Control- Need Suggestion on Saving Data

Posted By:      Posted Date: October 17, 2010    Points: 0   Category :SharePoint

Hi All,

I am in process of Developing a Custom Field for Rating control. Requirements are below.

1) This field will be used for Creating survey

2) It will be called Rating control with Attribute ( some enhancement over out of box rating control)

3) Respondent will rate each attribute for 1 question like

                Action: 3

                Comedy: 5

                Thriller: 7

I need suggestion on  How to save data for above Requirements. I have designed control and it works fine. Only thing I need help on How to and Where to Save data related to answer?


Thanks in Advance



Pathik Rawal Blog: http://pathikhrawal.wordpress.com

View Complete Post

More Related Resource Links

Cutting Edge: Custom Data Control Fields


In ASP. NET 2. 0, the GridView and DetailsView controls are designed to work together. They don't merely provide complementary services, they also share a number of helper classes and components. The output of the GridView control consists of a sequence of rows, each with a fixed number of columns.

Dino Esposito

MSDN Magazine January 2006

Importing SharePoint List Data into Project Server 2007 Custom Fields

Learn how to use the programmability features of Project Server 2007 and Windows SharePoint Services 3.0 to import SharePoint list data into an enterprise custom field.

Creating Custom ASP.NET Control for use on a SharePoint 2010 OOTB WebPart

I am currently trying to develop a custom asp.net control that can be deployed to SharePoint 2010 and then included on something like a New item form. I have been able to build the control as part of a webpart but it needs to be done as a stand alone control that can be used on various webparts including the out of the box webparts like the WebPartPages:DataFormWebPart. Are there any good examples of building a custom control, deploying it to SharePoint and then using SharePoint designer to add that control to an existing web part?

Adding a custom control to the SharePoint 2010 Team Site Wiki Page Template ( wkpstd.aspx ) programm

Topic This is maybe my last post about the Team Site Wiki Page customization with the aim of exceeding its limitations. This time we are going to customize the unique template ( wkpstd.aspx) by replacing the control that renders the editable content by a custom one. In this post example, we will take advantage of the use of this custom control to render not editable additional contents, for instance, a header and a footer that could be the same for a specific Wiki Page Library. Of course, we are not going to really customize the template, but we are going to use a delegate control to replace the control at runtime. Here are the screen shots of the result: We can see a non editable Header and Footer on the Team Site Wiki Page In edit mode these additional contents are not rendered, but we can add new content as usual And of course, after having saved the page, the new content is rendered wtih the non editable Header and Footer. Steps required   If you look at the Team Site Wiki Page template, wkpstd.aspx, you can see the control that is rendering the editable content/ <SharePoint:EmbeddedFormField ID="WikiField" FieldName="WikiField" ControlMode="Display" runat="server" /> We are first going to create a custom EmbeddedFormField control Then, we are going to use a delegate control to replace the native EmbeddedFor

I need a suggestion to bind the data in share point 2010 page.Suggest some right control to do this.

In my visual web part i need a control to display rows with grouping option. In my web part i am going to display all my document library and  announcement so that i need groping option. I need to do grouping option in the view.so what is the best control u suggest me to bind my data? 

SharePoint 2007 & Office 2010: not accepting data in required fields


We recently upgraded everyone to Office 2010, but we are still using MOSS 2007. Since the Office upgrade, I am getting numerous reports of problems with the 'required fields' of any document be editing (or newly created) when users try to save it back to the server.

These documents are throwing error messages indicating that some required properties 'are missing or invalid'. However all the needed info is indeed there. Even existing documents (that already have the field data in place) are giving the message when a save (or save as) is attempted. However, if the user saves a copy of the document locally and then manually uploads it via the SharePoint UI, it works fine. It appears to only come up when they use an Office app for editing and try to save it directly back to the server from the app. This process worked fine with Office 2007.

This only started when the Office 2010 upgrades were rolled out, and (as far as I know) no changes were made to SP at all. I have never seen this phenomenon before, so I would greatly appreciate any advice and/or education on this.  :)


How to create custom control in .net which can retrive data from sharepoint list and redirect to sit


Hi help me!

I am strugling this problem!

My requirement is I need to create a custom control which need to retrive data from sharepoint list, The list contain some sites information like Title, url, Scope my requirement is i need to display sites Title in my custom control and when i click on title (site name) in custom control it need to be redirect to that site and whenever list data updated automaticaly custom control data also need to be apdated automatically .

SharePoint 2010 External Content Type and InfoPath 2010 - Numeric data type fields missing in InfoPa


Connected SQL data table to SP 2010 ECT from SQL table.  The SQL table has several fields that have a type of "numeric(3,0)".  The SP 2010 list shows all fields form SQL.  When we open up InfoPath Designer and reference the SP List data (from SQL) all of our numer fields are missing from the available fields list.

I amd going to try another data type but that hardly feels like a solution.  If anyone has any ideas please let me know!

Problem validating StringBuilder fields in SharePoint 2010 Custom Workflow Validators


One of our custom SharePoint Designer workflow activities, which have always worked fine in SharePoint 2007, fails to validate.

This appears to happen when a Workflow Activity that contains a StringBuilder field also contains a lookup variable.

<FieldBind Field="CustomCode" Text="this code" Id="1" DesignerType="StringBuilder" />

For example when we store the following in this StringBuilder field

"Today's date = [%Current Item:Transaction Date%]"

This field returns 'null' in the ActivityValidator. As a result we cannot validate its contents.


Sharepoint Foundation 2010 - How to control which fields are shown on new/edit/view forms for Extern


I have an external list which contains a DateTime field.  For the display I have added an additional string field to the BDC Entity , so i can display the date in whatever format is required.  But i still need the actual date field so a Date picker is rendered on the edit form.  How can I display the string field on the generated Display Form and the date field on the Edit Form.

I have tried adding the following to the field declaration (in the List schema) for the string field so that it's only shown on view forms, but that didn't work.   

  • ShowInDisplayForm="TRUE" ShowInEditForm="FALSE" ShowInNewForm="FALSE" ShowInViewForms="TRUE"

Am i missing something, or is this yet another 'feature' of external lists which looks like it should work but doesn't? 

I know i could create custom iew and Edit Forms manually t

Sharepoint 2010 Custom Field Types & Field Properties ( Editor Control )



I've been searching this forum and all over the web for a working example of how to implement a Editor Control with a Sharepoint 2010 custom field type.

The only documentation on MSDN mentions the implementation of IFieldEditor. There are no propper examples of how to implement properties on custom field types.

All I could find on MSDN regarding this issue was :



Has anyone done anything simmilar and know of a propper example of how to implement it?



Pieter Theron | http://www.pietertheron.co.za


Accessing SharePoint 2010 Data with Server-Side APIs

Accessing SharePoint data in server-side solutions is one of the most common tasks that you will perform as a SharePoint developer. SharePoint 2010 provides powerful server-side APIs that enable you to retrieve, add, edit, and delete SharePoint data programmatically. SharePoint 2010 also includes the new LINQ to SharePoint technology that enables you to work with SharePoint data efficiently and easily.

Office Add-Ins: 3 Solutions for Accessing SharePoint Data in Office 2010


SharePoint 2010 introduces a number of new ways to access business data and present it to the user. We'll show you several options that range from no-code solutions to fully integrated Office add-ins.

Donovan Follette , Paul Stubbs

MSDN Magazine July 2010

Extend ASP.NET: Simplify Data Binding In ASP.NET 2.0 With Our Custom Control


The wwDataBinder control addresses simple control data binding--binding simple form controls like textboxes, checkboxes, and the selected values of list controls to individual data or object values.

Rick Strahl

MSDN Magazine December 2006

Unable to search Custom User Property Created in User Profiles in SharePoint 2010


Hi ,

I have created a custom user property,and created metadata property and added mapping to it, still i m not able to Search in People,Please advise

Quick Note: Create Silverlight Applications to Access SharePoint 2010 Data

In this exercise, you will learn how to create Silverlight applications to display SharePoint 2010 lists inside DataGrid controls.

Quick Note: Create Silverlight Graphs with SharePoint 2010 Data by Using LINQ

In this exercise, you will learn how to create Silverlight applications to retrieve SharePoint 2010 list data using LINQ.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend