ASP.NET Articles

Topics

Showing posts for the chosen topic area.

DateContent
7/21/2016

Stream/write Excel file to ASP.NET MemoryStream with EPPlus

How to create and send an Excel XLSX file on-the-fly, using EPPlus

Topics: ASP.NET

8/28/2015

Make the ASP.Net FileUpload control work inside the UpdatePanel control

The simple and easy way to make the FileUpload.HasFile property be True when used within an UpdatePanel

Topics: ASP.NET

7/17/2015

ADO.Net DataTables sort Null values last instead of first

Make ADO.Net behave like SQL Server when sorting DataColumns with Null values, and put Nulls last

Topics: ASP.NET

2/11/2015

Avoiding OutOfMemoryExceptions when using StringBuilder.ToString to send files

How to create large text files and send to the user without experiencing an OutOfMemoryException on StringBuilder.ToString()

Topics: ASP.NET

2/5/2015

Transform a List(of String) into a single string, with custom formatting

How to join together multiple strings (in an IEnumerable or List collection) into a single string, while adding bespoke formatting

Topics: ASP.NET

10/1/2014

Sorting ListItems in a ListControl by Text or Value

A tutorial on how to easily sort ListItems inside a ListControl by Text or Value, plus an easy re-usable extension method.

Topics: ASP.NET

4/9/2014

Make IIS work with local IP addresses instead of "localhost"

How to get IIS to recognise an IP address for running local websites (and for use within Fiddler)

Topics: ASP.NET, IIS

2/20/2014

Using DateTime.Now for generation of unique values

Use the DateTime.Now value to generate unique values

Topics: ASP.NET

2/17/2014

WOFF files return 404 (Not Found) in Azure Web Sites

After publishing your site to Azure, WOFF font files return a 404 error

Topics: ASP.NET, Visual Studio, Azure

2/10/2014

How to Bundle style sheets into an ASP.Net web form

How to add a System.Web.Optimization

Topics: ASP.NET

12/5/2013

"1" and "0" String was not recognized as a valid Boolean

ASP.NET throws an error when you try to convert "1" and "0" strings to Boolean values

Topics: ASP.NET

9/25/2013

Using Fiddler to create a POST to an ASP.Net Web API

How to create a POST in Fiddler to test out a Web API

Topics: ASP.NET

7/18/2013

ICS incorrect file times and time zone problems in Outlook calendars

When importing ICS calendar entries into Outlook, the time can become incorrect by one hour, or timezones differences are ignored

Topics: ASP.NET

7/8/2013

Disable weekends in asp:calendar control

How to disable and colour the weekend days in the asp:calendar control

Topics: ASP.NET

7/1/2013

Reference dynamic GridView from within its RowDataBound event

How to reference the parent (container) GridView at row level during RowDataBound

Topics: ASP.NET

6/11/2013

Highlight a Gridview (table) row on selection using JQuery

How the colour the grid view (table) row when a checkbox is checked

Topics: ASP.NET, JQuery

5/7/2013

How to install an SSL certificate in IIS7 or IIS8

A full guide to installing an SSL certificate within IIS 7 or 8 then apply it to a site

Topics: ASP.NET, IIS

4/26/2013

Type 'WindowsLiveClient' is not defined

You see an error 'Type 'WindowsLiveClient' is not defined' when working with DotNetOpenAuth and the OpenID functionality

Topics: ASP.NET

3/4/2013

Prevent error IErrorInfo.GetDescription failed with E_FAIL(0x80004005)

Tricks and tricks to help developers avoid seeing the IErrorInfo.GetDescription failed with E_FAIL(0x80004005) error.

Topics: ASP.NET

2/8/2013

ASP.NET export to Microsoft Excel corrupts symbols/characters

Exporting a DataTable or GridView to MS Excel can cause corruption to certain characters and/or symbols, prefixed with â

Topics: ASP.NET