Hi everybody,
Microsoft Dynamics AX2009 supports ASP.NET development on its Enterprise Portal framework, which runs on SharePoint. In theory, it should be possible to use the Telerik user controls on this platform. However, all attempts to accomplishing this are resulting in the same error below. The Enterprise Portal uses a 'Dynamics AX User Control Web Part' to host the user control.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
System.Web.HttpException: Please, see whether wrapping the code block, generating the exception, within RadCodeBlock resolves the error. ---> System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
at System.Web.UI.ControlCollection.Add(Control child)
at Telerik.Web.SkinRegistrar.RegisterCssReference(Page _page, Control _control, String _url)
--- End of inner exception stack trace ---
at Telerik.Web.SkinRegistrar.RegisterCssReference(Page _page, Control _control, String _url)
at Telerik.Web.SkinRegistrar.RegisterCssReferences(ISkinnableControl _control)
at Telerik.Web.UI.RadWebControl.RegisterCssReferences()
at Telerik.Web.UI.RadWebControl.ControlPreRender()
at Telerik.Web.UI.RadInputControl.ControlPreRender()
at Telerik.Web.UI.RadWebControl.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.WebControls.WebParts.WebPart.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Has aynone been succesfull in using Telerik components on AX2009 Enterprise Portal? If so, did you encounter this error and how did you solve it?
My sincere thanks in advance!
With regards,
Hendrik Pasmans
Microsoft Dynamics AX2009 supports ASP.NET development on its Enterprise Portal framework, which runs on SharePoint. In theory, it should be possible to use the Telerik user controls on this platform. However, all attempts to accomplishing this are resulting in the same error below. The Enterprise Portal uses a 'Dynamics AX User Control Web Part' to host the user control.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
System.Web.HttpException: Please, see whether wrapping the code block, generating the exception, within RadCodeBlock resolves the error. ---> System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
at System.Web.UI.ControlCollection.Add(Control child)
at Telerik.Web.SkinRegistrar.RegisterCssReference(Page _page, Control _control, String _url)
--- End of inner exception stack trace ---
at Telerik.Web.SkinRegistrar.RegisterCssReference(Page _page, Control _control, String _url)
at Telerik.Web.SkinRegistrar.RegisterCssReferences(ISkinnableControl _control)
at Telerik.Web.UI.RadWebControl.RegisterCssReferences()
at Telerik.Web.UI.RadWebControl.ControlPreRender()
at Telerik.Web.UI.RadInputControl.ControlPreRender()
at Telerik.Web.UI.RadWebControl.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.WebControls.WebParts.WebPart.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Has aynone been succesfull in using Telerik components on AX2009 Enterprise Portal? If so, did you encounter this error and how did you solve it?
My sincere thanks in advance!
With regards,
Hendrik Pasmans