Microsoft.ReportViewer Async Wait Control

Recently we updated our ReportViewer library from the Visual Studio 2008 version to 2010.  With the new version, the previously working wait control shown below was no longer rendering.

Alt

For the most part, the report viewer requires little configuration, but there are a couple properties that affect the display of this control.

Because the 2010 version is AJAX-enabled, you’ll need a script manager control on your page with the EnablePartialRendering property set to True.  This is the default value.  (Mine was previously set to False, which was the issue in this case.)

In the report viewer control, set the AsyncRendering property to True.  This is the default value.  The WaitControlDisplayAfter property is a red herring; it’s only used for subsequent postbacks, not during the initial laoding of the report.

Advertisements

Hello world!

It occurred to me today that each time I spend hours on the web locating some arcane piece of coding knowledge, the only people to benefit from it are me, the product I’m working on, and the couple of guys in the room at the time I exclaim, “Booya!” (or something similar).

The next thing that occurred to me is that for someone who develops web applications and web-enabled tools for a living, I have a remarkably small web presence.  Well…none, actually.

Thirdly, it occurred to me that there might actually be one or two other people who could benefit from my presenting the arcane bits of knowledge I glean in a concise and informative way.  So that’s what I’ll attempt to do heretofore.