?
Solved

Create WebPart

Posted on 2011-04-19
2
Medium Priority
?
422 Views
Last Modified: 2012-05-11
Hello Great expert,

This is really important for me.

I want to create webpart. This webpart should able to pull out record from Webservices.

Function for this webservices.
1. Pass "Project Number" then it will return project details.

Now, I need webpart which can able to call this webservices with "Project Number" parameter. and I want project details display in my webpart to end users.

Can you please write short example code or very details on this?

Thanks for your help in advance.
0
Comment
Question by:parikh12
2 Comments
 
LVL 9

Accepted Solution

by:
Ivan Padabed earned 1996 total points
ID: 35428419
for SP2010:
1. create new Web Part project in VS2010
2. add web service reference to this project and you will get WS proxy class
3. put OnRender override method in your web part code behind
4. make a call to your WS through the proxy class in your Render method and display the result with HTML

please note that scenario above is oversimplified, and if you don't have enough details to implement your web part with my steps then most probably you should not try to do it at all
0
 

Author Closing Comment

by:parikh12
ID: 35723500
thx
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question