Updating Bound Controls in an UpdatePanel

Do you need to update a bound control like a GridView or Repeater that is contained in an AJAX UpdatePanel after data is updated? Well there is a trick to it that you need to remember. You would think this should work: Code: //Update some data missingVideosUpdatePanel.Update(); Shouldn't calling the UpdatePanel.Update() cause the control to … Continue reading Updating Bound Controls in an UpdatePanel

Combining URL Paths

If you are like me, then you need to combine a base url path with another path to a web page or a service. Since base paths change often due to the application running from different environments, this is a common task. The .NET Framework provided use with a simple way of combining file paths, … Continue reading Combining URL Paths

Prevent Thread Exceptions in ASP.NET

In ASP.NET, if you see Exception messages like this: Thread was being aborted. Coming from: System.Web.HttpResponse.Redirect This is due to the default behavior of the Redirect call and it always throws this exception that is usually absorbed by ASP.NET. You might see this if you are using Exception logging in your application. So make sure … Continue reading Prevent Thread Exceptions in ASP.NET

Los Angeles Code Camp 2010

I hope everyone in southern California is planning to attend this years SoCal Code Camp in Los Angeles on 10/23 – 10/24. It’s always a great time and lots of free training! I will be presenting the following sessions and I hope you will attend. Back-2-Basics: Exception & Event Instrumentation in .NET This session will … Continue reading Los Angeles Code Camp 2010