Category: ASP.NET

  • Tracing ASP.NET Website

    Demonstrates that how to Trace ASP.NET web applications

  • DataGrid Sorting and Paging Example – Part 2

    For Part 1, visit This URL https://jitendrazaa.com/blog/?p=191 In this part, i will show that how to Sort the Datagrid Component of ASP.NET. To sort Datagrid, we will need DataView and then assign Dataview as datasource to our Grid control. We will need to change our code of Part 1. Previously, we used DataSet as a Datasource.…

  • DataGrid Example – Part 1

    For the basics of DataGrid please refer this post: https://jitendrazaa.com/blog/?p=188 In this example, i will explain the basics of DataGrid control like Theming, Databinding etc. We will start our example with creating the SQL Express database of Employee which will contain the following fields : Id, FName, LName, Email. Now create a stored procedure to…

  • ASP.NET DataGrid basic questions

    What is datagrid? The DataGrid Web server control is a powerful tool for displaying information from a data source. It is easy to use; you can display editable data in a professional-looking grid by setting only a few properties. At the same time, the grid has a sophisticated object model that provides you with great…

  • Handlers in ASP.NET

    HTTP Handlers is a new technique presented in ASP.NET that was not present in the “Classic ASP”. HTTP Handlers are components that implement the System.Web.IHttpHandler interface. Unlike ASP.NET pages Handlers dont have HTML-markup file, no events and other supporting. All they have is a code-file (written in any .NET-compatible language) that writes some data to the server HTTP…

  • Upload Files in ASP.NET at Production server

    In this article, i am going to demonstrate that how to upload the file in ASP.NET production server. Most of the case, a developer created a code to upload the file and test it on his local machine. program runs smoothly, but as he forward the same code on production. He stuck in the file permission error as on…

  • cannot access a closed file – FileUpload in ASP.NET

    This was very interesting error, i got during development of file upload control in ASP.NET. On my local system, every thing was just fine. but when i deployed my application on development server, my control was able to upload only small size files. whenever i tried to upload large size file i got error “cannot access a…

  • XML Parsing Error: no element found

    Few Days ago, i found strange error like “XML Parsing Error: no element found“. I was unable to find the exact root cause. Most of the times it happens if you are missing any closing tag in your ASPZ application. I checked my complete page and reconfirmed but error still persist. somehow i found that…

  • ASP.Net Error: Response is not available in this context

    This error occurred when  i tried to call Response.Redirect method from a class file. Then i tried to find the solution and i got to know that when we use the response object from an aspx page either from aspx page or it’s codebehind page, the response object is directly available because all these derived from…

  • App_Offline.htm in ASP.NET

    If you place a file with the name App_Offline.htm in the root of a web application directory, ASP.NET 2.0 will shut-down the application, unload the application domain from the server, and stop processing any new incoming requests for that application. ASP.NET will also then respond to all requests for dynamic pages in the application by…