I have migrated my application from .NET 1.1 to .NET 2.0. When I run the page which incorporates the Ultrawebchart v4.1 it throws the following error in .NET 2.0. I have searched online and found that I need to upgrade to version 7.1. Is there a way to re-solve this problem without purchasing the newer version as I only having problem with this control but the rest of the controls working fine. If I need to purchase, can I just purchase the UltraWebChart control bundle with all its dependencies. Thanks.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: Page.RegisterRequiresPostBack can only be called on controls that implement IPostBackDataHandler.Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[HttpException (0x80004005): Page.RegisterRequiresPostBack can only be called on controls that implement IPostBackDataHandler.] System.Web.UI.Page.RegisterRequiresPostBack(Control control) +2066103 Infragistics.WebUI.UltraWebChart.UltraChart.Render(HtmlTextWriter output) +4542
am getting the same error:
System.Web.UI.Page.RegisterRequiresPostBack(Control control) +8699682 Infragistics.WebUI.UltraWebChart.UltraChart.Render(HtmlTextWriter output) +2477 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
If you have the class code (vb.net) please send it to me...
mgopalan@sofist.com
as you may know, this was a breaking change in the .NET Framework, which was released in Nov. 2005. i don't think we made the corrections on our side before the last hotfix of v4.1 was released.
try creating a class that inherits from UltraChart, and implement the IPostBackDataHandler interface. then use that class in your application instead of UltraChart.