Kevin Grohoske

Senior Software Engineer 
MCPD-WEB, MCPD-WIN, MCSD

Infragistics and Peter Blum Validation “Page is still loading” Ajax Error

Friday, February 01, 2008 05:01 | posted by: kevin

I recently encountered a compatibility issue with Peter Blum validation controls and Infragistics WARP (Web Async Refresh Panels). Luckily it has already been resolved in the latest version (3.0.11.5000) of Peter Blum’s controls, but it is not documented well on the Peter Blum site or support forums.

If you do not register the WARP panels with the following Peter Blum command you will get “Page is still loading. Please wait” when you try to change data after the page has been updated via a WARP postback.

Steps to reproduce:

If you have a simple page with two WARP panels one that displays the data fields data and the other with a button to update/save.

 

  1. <!--[if !supportLists]--> <!--[endif]-->Load page
  2. <!--[if !supportLists]--> <!--[endif]-->Modify data and press Save via a button in a WARP panel
  3. <!--[if !supportLists]--> <!--[endif]-->WARP panel with data gets updated
  4. <!--[if !supportLists]--> <!--[endif]-->Attempt to change the data.
  5. <!--[if !supportLists]--> <!--[endif]-->Page will show a modal javascript dialog stating, “Page is still loading. Please wait”.
protected void Page_Load(object sender, EventArgs e) { PeterBlum.VAM.AJAXManager.Current.AllInAJAXUpdate = true; PeterBlum.VAM.AJAXManager. UsingInfragisticsAJAX(###WARPPanelName###); //one line for each warp panel PeterBlum.VAM.AJAXManager. UsingInfragisticsAJAX(###SecondWARPPanelName###); //one line for each warp panel }

Tags:

PermaLink   E-Mail Article   RSS Comment Feed