ASP.net C#(cSharp) 

How to remove extension .aspx/.html in asp/c# web application

If you are entering some sites particular page and enter a full link with the extension it feels annoying right? Want to remove extension?So to solve the problem in asp/c# Web application, you can follow the below steps to get rid of this. Follow the below steps carefully. #1 Step: in your application root create a file called “Global.asax”. to Create right click on application project and select “Add -> New Item” then you will see something similar to the below image, #2 Step: Then select in left select “C#…

Read More
Ajax ASP.net C#(cSharp) Javascript 

How to upload file to ftp using C#(C-Sharp) – aspx,ashx and ajax

In this article, we are going to explain how to upload the file to FTP using C# Generic handler(.ashx), HTML and Ajax. Please follow the steps below In visual studio create a solution with empty web app with aspx project solution. Create a file called index.aspx by adding a new item to the solution, in aspx page add the below code Add jquery plugin to <head> tag section Add HTML form fields to upload a file At bottom add the ajax file upload ajax script. After this create a File…

Read More
Asp-net ASP.net BackEnd Programming C#(cSharp) 

How to Capture Screenshot of a website Using ASP.Net

To Take a Screenshot of a website first you have to Create a Account in  Grabz.It and they will Provide you API keys to integrate it in your application. Then to use the API you will first need to create an instance of the GrabzItClient class, passing your application key and application secret from your GrabzIt account to the constructor. Then use one of the SetImageOptions, SetPDFOptions, SetAnimationOptions or SetTableOptions methods to request that the GrabzIt service take a screenshot of the URLpassed to it. Then use one of the following save methods. Notice…

Read More
Asp-net ASP.net BackEnd Programming 

How to Use Multiple Forms in Single Page Using ValidationGroup

I was using a bootstrap modal to 2 different forms in Single aspx page. Here the Problem was there was 2 forms so obviously 2 buttons are there, and i have used asp validation also so there was a conflict between the 2 buttons to validate and submit the form. When i click Button1 it was validating the other buttons text field also. so to overcome from that use i got a solution From “ValidationGroup” Keyword, add this to all the asp input fields and button, group them as given below. By using ValidationGroup…

Read More