Search Results

23 posts. Showing page 1 of 3.

Disable common UpdateProgress controls for an UpdatePanel with an associated UpdateProgress

By · April 12, 2017

If you have an ASP.NET Web Forms page with multiple UpdatePanels and multiple UpdateProgress controls, sometimes you may want one or more UpdateProgress controls associated with a specific UpdatePanel, and one or more UpdateProgress controls that have no association with an UpdatePanel so are shown when any UpdatePanel is updated.

Page.Title is blank in MasterPage after setting in ASPX page

By · June 8, 2016

I came across an issue where I was setting Page.Title in my ASPX page's Page_Load event, but it was appearing blank when I was attempting to retrieve the value in the MasterPage's Page_PreRender event.

Navigate away protection for ASP.NET Web Forms

By · May 20, 2015

I have wanted to add protection from vavigating away from some of my web forms but most of the solutions I have seen do not work well with ASP.NET with it's many possible ways of posting back and AJAX using Update Panels.

My latest project: Ghost Tour Bookings

By · April 4, 2015

My latest web project is Ghost Tour Bookings, a website where ghost tours are advertised and people can make enquiries or book the tour.

Can't change the Visible property of a control in ASP.NET Web Forms?

By · March 23, 2015

If you come across a problem where you set the Visible property of an ASP.NET control to true in a code behind file, but even when you debug it still shows the value as being false then the problem is most likely to be that the control is inside another control such as a Panel or PlaceHolder that has its Visible property set to false.

UpdatePanel in incomplete state after using browser's back button

By · January 27, 2015

I recently experienced an issue with an ASP.NET Web Forms page with various UpdatePanels. The page has two DropDownLists, the selection of one results in populating of possible values in the other, and the selection of the other results in enabling of a Button. Then if the Button is clicked the user is redirected to another website, based on their selection.

Things you need to know when programming in ASP.NET Web Forms

By · January 21, 2015

Web forms makes it really easy to create a simple website, but it is also really difficult to crate a complicated website. These are some of the things you will need to know sooner or later.

ASP.NET Request object cheat sheet

By · August 8, 2014

Personally I can never remember which of the Request object properties I need to use to get the requested URL or certain parts of the requested URL.

Using SqlDataReader NextResult to improve performance

By · July 31, 2014

On database-driven websites it is commonplace to execute multiple database queries to generate just one page. For example, on the home page of an ecommerce website you might get a list of categories, a list of banner advertisements to display, a list of featured products, and a list of top selling products. I investigate whether it was more efficient to put these multiple queries into one stored procedure and use the SqlDataReader's Next Result method to get the data all in one go.

How to view 'Entity Framework DbEntityValidation Exception was unhandled by user code' errors?

By · July 23, 2014

If you are using Entity Framework and have received this error message and have been frustrated by not being able to see what the actual problem is in Visual Studio then there is a simple solution.

  1. 1
  2. 2
  3. 3
  4. Older
About me
John Avis ...mostly about web development and programming, with a little bit of anything else related to the Internet, computers and technology.

profile for John at Stack Overflow, Q&A for professional and enthusiast programmers
Subscribe

Get the latest posts delivered to your inbox. *