PivotGrid Problem

19 posts, 0 answers
  1. Ed
    Ed avatar
    4 posts
    Member since:
    Dec 2012

    Posted 17 Sep 2013 Link to this post

    When I add a PivotGrid to the page I get the following error. Does anybody know what is causing this, all other controls work just fine.


    Parser Error Message: 'EncodingConverter' is unable to convert 'System.Text.UTF8Encoding' to 'System.ComponentModel.Design.Serialization.InstanceDescriptor'.

    Source Error:

    Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %>Line 2:  <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
    


  2. Ed
    Ed avatar
    4 posts
    Member since:
    Dec 2012

    Posted 19 Sep 2013 Link to this post



    It's a bug in the control's markup....


    <XmlaConnectionSettings Encoding="utf-8"></XmlaConnectionSettings>


    Remove the encoding reference and the problem diappears.
  3. Eyup
    Admin
    Eyup avatar
    3286 posts

    Posted 20 Sep 2013 Link to this post

    Hi Ed,

    Thank you for contacting us.

    Our developers are aware of this issue and will introduce a fix for the future releases. Currently, you can use the following approach to work around the issue:
    Copy Code
    protected void Page_Load(object sender, EventArgs e)
    {
        RadPivotGrid1.OlapSettings.XmlaConnectionSettings.Encoding = System.Text.Encoding.UTF8;
    }

    Hope this helps. Please excuse us for any inconvenience this might have caused you.

    Regards,
    Eyup
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  4. Ed
    Ed avatar
    4 posts
    Member since:
    Dec 2012

    Posted 20 Sep 2013 Link to this post

    Thank you for posting the work around.


    Ed
  5. John
    John avatar
    3 posts
    Member since:
    Apr 2013

    Posted 05 Dec 2013 Link to this post

    Thank you for posting this solution. It immediately solved the problem and was easy to find on Google. Keep up the outstanding support!
  6. Carlos Eduardo
    Carlos Eduardo avatar
    2 posts
    Member since:
    Oct 2013

    Posted 22 Jul 2014 Link to this post

    Error de servidor en la aplicación '/'.Error del analizadorDescripción: Error al analizar el recurso requerido para dar servicio a esta solicitud. Revise los detalles de error de análisis específicos y modifique el archivo de código fuente en consecuencia. 

    Mensaje de error del analizador: 'EncodingConverter' no puede convertir 'System.Text.UTF8Encoding' en 'System.ComponentModel.Design.Serialization.InstanceDescriptor'.

    Error de código fuente: 

    Línea 1: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Reports.aspx.vb" Inherits="Reporte_Reports" %>
    Línea 2:
    Línea 3: <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    Archivo de origen: /Reporte/Reports.aspx    Línea: 1 
  7. Carlos Eduardo
    Carlos Eduardo avatar
    2 posts
    Member since:
    Oct 2013

    Posted 22 Jul 2014 Link to this post

    the error persists, but keep this in load and init

    RadPivotGrid.OlapSettings.XmlaConnectionSettings.Encoding = System.Text.Encoding.UTF8

    Server Error in '/' Application. 

    Error Analyzer 

    Description: Error parsing a resource required to service this request. Please review the specific error details and modify the analysis of source code appropriately. 

    Parser Error Message: 'EncodingConverter' can not convert 'System.Text.UTF8Encoding' in 'System.ComponentModel.Design.Serialization.InstanceDescriptor'. 

    Source Error: 


    Line 1: <% @ Page Language = "VB" AutoEventWireup = "false" CodeFile = "Reports.aspx.vb" Inherits = "Reporte_Reports"%> 
    Line 2: 
    Line 3: <% @ Register Assembly = "Telerik.Web.UI" Namespace = "Telerik.Web.UI" TagPrefix = "telerik"%> 

    Source File: / report / reports Online: 1
  8. Eyup
    Admin
    Eyup avatar
    3286 posts

    Posted 24 Jul 2014 Link to this post

    Hi Carlos,

    Can you please verify whether you have removed the setting from the mark-up definition of the grid?

    Looking forward to your reply.


    Regards,
    Eyup
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  9. Shannon
    Shannon avatar
    2 posts
    Member since:
    Apr 2015

    Posted 07 Apr 2015 Link to this post

    The above did not work for me.  How would one go about removing the setting from the markup definition of the grid?

    Shannon

  10. Eyup
    Admin
    Eyup avatar
    3286 posts

    Posted 10 Apr 2015 Link to this post

    Hello Shannon,

    Just make sure that you are NOT setting it declaratively in the mark-up definition of RadPivotGrid located in the aspx page:
    <OlapSettings>
         <XmlaConnectionSettings Encoding="utf-8"></XmlaConnectionSettings>
    </OlapSettings>

    Please check whether the snippet above is present in your code and remove it.

    Regards,
    Eyup
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  11. Shannon
    Shannon avatar
    2 posts
    Member since:
    Apr 2015

    Posted 10 Apr 2015 in reply to Eyup Link to this post

    That did it! Thanks!
  12. John
    John avatar
    5 posts
    Member since:
    Dec 2010

    Posted 08 Mar Link to this post

    Can you ***PLEASE*** fix this?

    It's still an issue in latest release 2017.1.228

  13. Eyup
    Admin
    Eyup avatar
    3286 posts

    Posted 10 Mar Link to this post

    Hello John,

    I am afraid this behavior is not planned to change. Please set the mentioned property programmatically in the code-behind as demonstrated already in the thread:
    protected void Page_Load(object sender, EventArgs e)
    {
        RadPivotGrid1.OlapSettings.XmlaConnectionSettings.Encoding = System.Text.Encoding.UTF8;
    }

    Regards,
    Eyup
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  14. John
    John avatar
    5 posts
    Member since:
    Dec 2010

    Posted 10 Mar in reply to Eyup Link to this post

    While I understand this is a workaround, this really needs to be fixed in the designer.

    When this error is encountered, it is not obvious what happened:

    Parser Error Message: 'EncodingConverter' is unable to convert 'System.Text.UTF8Encoding' to 'System.ComponentModel.Design.Serialization.InstanceDescriptor'.

    This takes a while to remember what the cause is, and in addition, adding this code into every page's code behind is not a good solution.

  15. Vessy
    Admin
    Vessy avatar
    1621 posts

    Posted 15 Mar Link to this post

    Hi John,

    I am afraid that, as explained in my colleague Eyup, this improvement is not planed for implementation in the current Roadmap of the PivotGrid. The optimal suggestion I can give you in this case is to submit a feature request for this improvement into our FeedBack portal. If many people are interested in it (and respectively the vote count is high) this will increase the priority of the item and our Product Manager will consider adding this feature for implementation shortly:
    https://feedback.telerik.com/Project/108/Feedback/List/Feature%20Request

    Regards,
    Vessy
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  16. John S.
    John S. avatar
    96 posts
    Member since:
    Aug 2004

    Posted 03 Jun Link to this post

    From September 20, 2013
    "Our developers are aware of this issue and will introduce a fix for the future releases"

    It sounds as if it is planned.

    Is there really a current road map for PivotGrid? I haven't seen anything besides compatibility/bug fixes in a long time. 

     

  17. Rumen
    Admin
    Rumen avatar
    13149 posts

    Posted 05 Jun Link to this post

    Hi John,

    The UI for ASP.NET AJAX is a pretty mature product and the roadmap is currently based on enhancing the controls stability, to improve and unify the appearance of the different components along with better documentation and how-to articles.

    I searched for this PivotGrid request in the public portal and wasn't able to find such. This unfortunately means that we cannot measure it and raise its priority in the backlog. Can you please log your inquiry in the feedback portal as suggested by Vessy on Mar 15 - http://www.telerik.com/forums/pivotgrid-problem#qkG-08awVU2oxhzvK0dmCA?

    Best regards,
    Rumen
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  18. John S.
    John S. avatar
    96 posts
    Member since:
    Aug 2004

    Posted 05 Jun in reply to Rumen Link to this post

    Hello Rumen,

    Thank you for the reply.

    I am unsure why I have to submit a known issue to a request queue. Especially one that was acknowledged about 4 years ago as being fixed soon.

    Can you please explain why I have to do this? If so, please do.

    John 

     

     

     

  19. Rumen
    Admin
    Rumen avatar
    13149 posts

    Posted 07 Jun Link to this post

    Hi there,

    I agree with you that this is a known issue, but its priority is low due to that only a few users have requested it during the years and there are suggestions of how to overcome it. The chance to get implemented will become higher if the issue is logged by a customer in the feedback portal and the people can vote for it and raise its status in the backlog.

    Best regards,
    Rumen
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top