Welcome to SharePointCafe.net, A tutorial for SharePoint and ASP.net

SharePointCafe.net is an online portal which gives you complete set of tutorial on following topics: SharePoint, ASP.Net, Java, Java Script, HTML and other programming languages. Readers of this website can also find Sharepoint/MOSS learning material here -> Sharepoint Learning. All the articles in this site will be given by pesonal experience, from a website or e-books.


how to call web service from ajax post method?

I have a web service running on another machine, I have to consume this through client side code.


What is SPDisco.aspx file in Sharepoint 2010

SPDisco.aspx file is a directory of all web services available in SharePoint.


SharePoint central administration page is blank after sharepoint installation

I have installed sharepoint 2010 successfully, even i have completed sharepoint configuration wizard with no error, but still i got blank central administration page.


Bulk copy data from excel sheet to sql table

How to process bulk copy data from excel sheet to sql table. Here is code to copy data from excel to sql.


Received an invalid column length from the bcp client for colid 4

While working with SQLBulk copy i faced this issue-Received an invalid column length from the bcp client for colid 4.


Transaction scope in C#.net with an example.

TransactionScope is an important class in the .NET Framework.It makes Makes a code block transactional. This class can not be inherited.


How to add file in root of a sharepoint web application?

SharePoint folder structures are different, generally pages will be available in Page library. What if a user wants to add a file in root of SharePoint web application.


What is sharepoint 2010 timer job?

Microsoft SharePoint 2010 timer jobs perform much of the back-end work that is required to maintain your SharePoint farm. Timer jobs are executable tasks that run on one or more servers at a scheduled time.


What is crawl rule in sharepoint 2010?

Crawl rule allow sharepoint administrator to include and exclude specific url during crawling.


How to save data to sql table using ajax post method

Ajax post method is a way to save data. Normally we use C# code on button click with .aspx and .aspx.cs file. But suppose you have html file then how will you proceed.


Java script to get dropdown selected value

How to get dropdown selected value by using java script. Below is java script code.


How to format url in a gridview anchor tag

Url is most important item in context of SEO, there are many ways to format url. You can rewrite url or you can map url. There is also third way to show a new url.


Java Script - Allow only numeric value in textbox

Sometime there might be requirement to allow only numeric value in a textbox, for example value in mobile number and in pin code.


Java script - form validation code

Java script is useful in form validation. Here is the script for validation.


Java Script - How to get value of selected radio button

Radio button is an html control used for optional choice. Java script is a way to get the value of radio button which is selected. Here is the code: