Wednesday, September 08, 2010
Dnaxp.net Forums
Minimize

Dnaxp.net Forums

The Dnaxp.net Community is proud to present our support forums. The forums enabled us to provide more benefits and better service to our valuable community.

  
Forum
Minimize
 
ForumForumUsing ReportGri...Using ReportGri...Using the Repor...Using the Repor...Export parsing error (AJAX)Export parsing error (AJAX)
Previous Previous
 
Next Next
New Post
 6/16/2009 6:17 PM
 

We have recently purchased and started using the reportgrid module.

To aid in the ease of use we are using the source code to create a custom version where the end user (admin) can select a functionality (stored procedure) from a drop down rather than entering a SQL query.

For the export functionality I encountered an issue where an error will be reported like this:

Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '<HTML>
  <HEAD>

I have been trying to solve this for some time now and finally found a thread in DNN with similar issues where it turns out that the issue wasn't with DNN but the "other" module that was used.

The solution I have found via that thread is to turn AJAX support off in host settings and then everything works fine. Export pops up the dialog and file is saved. Enabling AJAX it fails.

When downloding the reportgrid module I noticed that there are different versions for the grid.  rel96, rel96.ajax, rel96.NoDataProvider and rel96.source. Does this mean that if you are using the source to build a custom module AJAX isn't supported?

My DNN is version 4.9.3 and reportgrid is version 1.9.09.rel96

 

Any help is greatly appreciated as this is an important addition to our install.

thank you

--peter

New Post
 6/29/2009 7:03 PM
 

Issue solved (providing solution here in case someone else encounters it).

In the source code (ViewReportGrid.ascx.vb) there is a compiler directive used to determine if AJAX is enabled.

Line 151: "#If AJAXENABLED Then

The directive is not defined in the source code and as such that code section is not compiled when building the module. When this code section is not compiled the lines registering the download links as postbackcontrols is not included and it will cause the above error.

Ensuring these lines are included will fix the issue and it seems to work when DNN has AJAX enabled but also when AJAX isn't enabled.

                            DotNetNuke.Framework.AJAX.RegisterPostBackControl(lnkExcel)
                            DotNetNuke.Framework.AJAX.RegisterPostBackControl(lnkXML)

 

Previous Previous
 
Next Next
ForumForumUsing ReportGri...Using ReportGri...Using the Repor...Using the Repor...Export parsing error (AJAX)Export parsing error (AJAX)

  
Forum Policy
Minimize


These Discussion Forums are dedicated to the discussion of the Dnaxp.Net Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial products and non-commercial products which are noectly related to the DotNetNuke Web Application Framework
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.

  
Adsense
Minimize
  
 
Minimize

Full compatibility of ReportGrid & ReportChart with all releases of DNN from 4.0.2 to 5.4.4

 

The help desk support is always available to help you! Contact us!

Only $64.95 Offer expires on 12/31/2010

 


  

Snowcovered modules
Minimize
  
Privacy Statement  |  Terms Of Use
Copyright 2006-2008 by Dnaxp.Net