Dot Net Sparks C#.NET,ASP.NET,ADO.NET,LINQ,AJAX,JavaScript,SharePoint

/ 1

Configure Forms-Based Authentication using Active Directory Membership Provider in SharePoint 2010

In this post, I am going to explain you how to configure forms-based authentication using active directory membership provider.

First, let’s create a web application. Go to Central Administration


/ 2

Open application page in SharePoint 2010 dialog framework using Code-Behind

In the previous post, I have explained you how to open application page in SharePoint 2010 dialog framework, where we used the script with in web part i.e., .ascx.

In this post I will explain you how to open the same application page in dialog framework using code-behind model with some modifications to the previous solution.

Here, we gonna do only two things, first we will add an anchor tag with attributes id= “anchor” and runat=”server” in the SP2010DFWebPartUserControl.ascx, in order to have the access in the code-behind. Next, in the code-behind file, we write some JavaScript and assign it to script variable and register the script to emit on page load.

/ 2

Open application page in SharePoint 2010 dialog framework

This example shows how to open application page in SharePoint 2010 dialog framework.


So, first we will create a visual web part in that we will have a link to open the application page in a dialog box.

Now, let’s us start step by step

/ 0

Adding custom action to Personal Actions menu of SharePoint 2010

This example shows how to create a custom action menu item to PersonalActions menu. In order to create custom action menu item we need an empty element and a feature.


/ 0

FileUpload Control in ASP.NET

This article illustrates how to upload a file to server using FileUpload control. Here we are going to use one FileUpload control to select a file and one button control to upload the selected file to server.


/ 3

Error “Word experienced an error trying to open the file”

/ 0

Password Generator in ASP.NET

This article illustrates how to create a simple password generator.