How To Get Started With Developing SharePoint Web Parts

Nov 2, 2010

I'm not really a developer but I have experience in PHP, Java and want to have a go at developing some really simple SharePoint web parts (for WSS 3.0, MOSS 2007 and in future 2010).I assume it requires knowledge of ASP.NET. Should I start learning C# or get stuck straight into web parts.

View 3 Replies


Similar Messages:

Web Parts Vs. Full Blown Application In SharePoint?

Mar 2, 2011

I'm trying to get up to speed with SharePoint, coming from ASP.NET Web Forms. We're looking to use SharePoint exclusively for several reasons; one of the main selling points is to consolidate our development efforts. So for example, today we have several one-off websites with anywhere from 1-5 pages (smallish) on several servers, IIS installs, etc. and seem to be a bit fragmented.

Let's say I have a requirement for a smallish site (1-5) pages. What is the SharePoint way to handle this situation? Do I create several Web Parts, then create the pages in SharePoint and plug them in or do I simply create an ASP.NET Web Forms application and provide a link within SharePoint to it?

Update.I'm going with neither. Based on feedback and additional research it seems that Application pages are what I'm looking for. Here's a good article:

http://grounding.co.za/blogs/brett/archive/2008/07/13/sharepoint-the-role-of-a-web-part-vs-using-application-pages.aspx

View 4 Replies

C# - Sharepoint Connected Web Parts / User To Be Able To Enter A Value In The Textbox And Click A Button To Update?

Jun 8, 2010

I have one web part (the provider) which displays insurance claims in a gridview. When user clicks on one this value(case number) is passed via IWebPartField interface to another web part(consumer) which displays detailed info about the claim. So far so good. I can select different claims in the provider and the details show up in the consumer just fine. The moment I add a TextBox to the consumer, the consumer no longer recognizes the case number passed. I need the user to be able to enter a value in the textbox and click a button to update that claim info. I can debug and attach to process and it looks like it is getting the case in the callback function, etc, but when it is setting parameters for the stored proc in CreateChildControls, it is null. Comment out the TextBox and it works fine.

View 1 Replies

Make Visual Web Part "Sharepoint 2010" To Communicate With Other Web Parts

Mar 24, 2011

I want to make my visualwebpart to communicate with other webparts like (Provider and Consumer) I am thinking can I make my VisualWebPart which has a ascx file which is drived from UserControl, can I make it a Provider or a Consumer. I am adding these webparts on Sharepoint 2010 webpartpage.

View 3 Replies

How To Develop Web Parts That Can Be Used In Our ASP.NET Sites And Our SharePoint Sites

Jul 16, 2010

I am interested in developing Web Parts that can be used in our ASP.NET sites
and our SharePoint sites. An example Web Part I have in mind is a Post Code (Zip Code) look up.- Visual Studio 2010 Premium- SharePoint Designer 2007- Windows 2003 Server (therefore WSS 3.0)- No SharePoint Server

View 2 Replies

Web Forms :: Crop And Split Image Into Parts And Then Save Parts Of Image In C#

Mar 22, 2013

How to Divide image in two parts like I have an image which width x Height = 16 x 32.

And I want to split image in two images 16x 16 and 16x 16.

How can i do it?

View 1 Replies

Unable To Call The SharePoint Custom Web Service From Another SharePoint Farm

Jan 12, 2011

I have deployed a custom SharePoint Web service on Farm A. I am trying to access this Web service from a SharePoint timer job on Farm B. On Farm B, I am creating Class Library project, packaging it (wsp) and then deploying to GAC. The problem is I'm unable to access the Web Service using the following code. TodaysNewSVC is a service reference

TodaysNewSVC.GetTodaysnewsfromInsite objGetNews = new TodaysNewSVC.GetTodaysnewsfromInsite();
objGetNews.PreAuthenticate = true;
objGetNews.Credentials = CredentialCache.DefaultCredentials;
objGetNews.Url = "http://insite-dev.portal/_vti_bin/todaysnews.asmx";
DataTable dt2 = objGetNews.getNewsFromInsite(true, true);

//getNewsFromInsite is a WebMethod which returns the DataTable.

Note: Both farms use the same active directory authentication. I have also done the debugging for Timer Job and feature activation and they are working fine. The problem occurs during the call i.e. getNewsFromInsite
The asmx and wsdl files are accessible from Internet Explorer and also from Windows Console application. Here is the code which I use from console application:

GetTodaysnewsfromInsiteSoapClient objWSClient = new GetTodaysnewsfromInsiteSoapClient();
objWSClient.ClientCredentials.Windows.ClientCredential = System.Net.CredentialCache.DefaultNetworkCredentials;[code]...

Here is the error message:The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="%2fPages%2fproblem-with-page.aspx%3fc%3d500">here</a>.</h2>
</body></html>

View 1 Replies

Error: "Could Not Load Type 'Microsoft.SharePoint.WebControls.SPGridView" SharePoint 2010

Jun 15, 2010

Following error comes when creating a WebPart In sharePoint 2010 Server.

Web Part Error: Unhandled exception was thrown by the user code wrapper's Execute method in the partial trust app domain: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.TypeLoadException: Could not load type 'Microsoft.SharePoint.WebControls.SPGridView' from assembly 'Microsoft.SharePoint, Version=14.900.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'. at ListMenuSample.ListMenuSample.ListMenuSample.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at Microsoft.SharePoint.UserCode.SPUserCodeWebPartWrapper.ExecuteHttpRequest(SPUserCodeWebPartHttpRequestContext webPartExecutionContext, SPUserCodeWebPartHttpResponse httpRequestResponse) at Microsoft.SharePoint.UserCode.SPUserCodeWebPartWrapper.Execute(SPUserCodeExecutionContext executionContext) at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext)

View 1 Replies

C# - Getting Started / Using F#?

Jan 10, 2010

Where should i start before using F#? What are the Learning curves in F#? What should developers moving from C# watch out for when they move to F#?

View 4 Replies

Get Started Using DotNetOpenAuth

Feb 26, 2010

I created a simple page using the code provided by this page (the first sample): [URL] But I can't seem to get it to work, I can redirect to the provider but when the provider redirects back to my page, I get error 500, "The request was rejected by the HTTP filter". I already checked ISAPI filters which I have none.

View 2 Replies

Getting Started With AJAX?

May 19, 2010

I'm taking my first stab as using AJAX. I'm starting with a simple example to update the time when a textbox changes. So I added the following at the top of my content page's placeholder:

[Code]....

And then, lower down, I added an updatepanel.

[Code]....

But nothing happens. I edit the textbox and tab out and nothing updates and nothing changes.Am I missing a web.config setting or something that I can't find reference to in all the articles I found? I'm using VS2010 and .NET 4.

View 2 Replies

C# - Getting Started With SharpSVN?

Jan 25, 2010

Are there any good resources and sites related to developing with SharpSVN and normal SVN/VisSVN I've so far only come across a few samples that deal more with JIRA.

View 1 Replies

How To Get Started With Shopping Cart

May 11, 2010

can i get a good example.. in order to get started with shopping cart.. how long it's gonna take while implementing it..?

View 5 Replies

How To Get Started Building C# And .NET Web Applications

Mar 12, 2011

I am planning to create a Customer Relationship Management (CRM) application. I have to use C# and Visual Studio 2008. What is the best approach to get started and what resources can I use to make this process easier?

View 2 Replies

MVC Getting Started Video Tutorial

Jun 22, 2010

I'm new to ASP.net and used the on-line demo under the getting started section to try and build my first MVC app. [URL]. This is a great video and is just the kind of thing I need to help me learn as I hate reading though books! However I have gone through this tutorial 3 times now and I can't get it working. Well, I follow it step by step and get the following error. The only difference is that I am using Visual Studio 2010. Being new to this I need to become familiar with all the standard error messages but at the moment they are all foreign. This is my FriendsController.cs I'm not sure if I need to post the other files as I know the database is setup ok.

The error message is:
Error 1 'HelloWorld.Models.FriendsDB' does not contain a definition for 'Friends' and no extension method 'Friends' accepting a first argument of type 'HelloWorld.Models.FriendsDB' could be found (are you missing a using directive or an assembly reference?) C:UserssleoniDocumentsVisual
Studio 2010ProjectsHelloWorldHelloWorldControllersFriendsController.cs 19 52 HelloWorld
[Code]....

View 3 Replies

Security :: How To Get Started With Https

Feb 23, 2011

I have very much experience of asp.net developement. But i have never dealt with https. In my one project i require 2/3 page with https. So please any one can explain me how i can start with https. Please explain me in detail about about developement cycle, and any other if there is any settings.

View 2 Replies

MVC - Getting Started With Linq And SQL Procedure

Mar 3, 2010

Today is my first day using ASP.NET MVC, and I'm finding it very intriguing. I only just started learning asp.net.

So basically I'm trying to call a procedure from an MSSQL database, and with it I need to send a paramater "PlaceID", which is an integer. This procedure basically just picks out a number of columns from different tables in the database. Here is the Linq to SQL code

The ultimate goal is to be able to retrieve all the information and return it as JSON with a function that will be available for a javascript.

I'm wondering what is the best way to proceed from here. I know I have to create a view, but I'm still unclear exactly on how I can call the procedure and make it store all the information. I could really use some help on this, some code examples would be excellent. I already wrote a C#.net function to convert a datatable to JSON using a stringbuilder, but I get the feeling there is a smarter way to do things.

View 1 Replies

WCF / ASMX :: Getting Started With Creating An API?

Dec 3, 2010

I am looking into creating an API for a website and I'm not quite sure where to get started.

1) Do you have any basic starting point resources when it comes to API and asp.Net. Maybe I am searching for the wrong thing? Is an API a web service?

2) When you create an API for a website. Do you host the api and the website in the same location? Or do you isolate the website from the API?

View 7 Replies

C# - DotNetOpenAuth: Webforms, Getting Started

Mar 1, 2010

I am trying to figure out how to get DotNetOpenAuth(http://www.dotnetopenauth.net/) working in my webforms app

I don't understand where to begin. I have an OpenIDSelector on my Login.aspx that lets you choose google or Yahoo. You can choose one, then a popup comes up, and lets you login. Once you login the program hangs because it is trying to do something with a database???

Can't I just use some control(like the OpenIDSelector) and get back that the user was authenticated, get their ClaimedID and handle the rest myself?

EDIT: Trying to get started with OpenID in Webforms? Go Here...

http://www.dotnetopenauth.net/developers/code-snippets/programmatic-openid-relying-party/

View 4 Replies

Get Started With URL Routing In Webform Application?

Feb 19, 2010

Thus far working with asp.net webforms was very easy .... But never implemented URL Routing in webforms... I know asp.net MVC Handles URL Routing pretty well... How to get started with URL Routing in an asp.net webform application? For EX: [URL] i want it to be like [URL] Any good article to start with URL Routing asp.net 3.5

View 1 Replies

C# - SQL Server Reporting 2008 : Getting Started?

Mar 7, 2011

I have just been told to get looking into using SQL server reporting. Does anyone have any good links they would recommend? can this be used for reporting on ASP.NET sites?

View 1 Replies

DataSource Controls :: Getting Started With Nhibernate

Feb 8, 2010

give me an example of foreign key mapping & class description cause I don't get it.

View 4 Replies

Any Good Links To Get Started Using NHibernate?

Dec 21, 2010

any good links to get started using NHibernate with ASP.NET?

View 2 Replies

Can Get Started With Using WF 4.0 In Typical Website Scenarios?

Apr 5, 2010

I have developed for SharePoint and in those cases it is clear how workflow can (You have documents that needs approval and there are built in SharePoint workflows for this) But now I am doing standard ASP.NET web CRUD apps with WCF. I would like to find a way to get WF 4.0 invovled but I am not sure how to do it and never see any examples....

View 2 Replies

Web Forms :: Started Process Not Executing Any Code When Run Through IIS?

Aug 23, 2010

I am calling a simple console application (exe) using process.start. Within this application, I am writing events to the event log.

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved