PivotGrid Problem

11 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. UI for ASP.NET Ajax is Ready for VS 2017
  4. Eyup
    Admin
    Eyup avatar
    3014 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.
  5. 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
  6. 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!
  7. 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 
  8. 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
  9. Eyup
    Admin
    Eyup avatar
    3014 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.

     
  10. 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

  11. Eyup
    Admin
    Eyup avatar
    3014 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.

     
  12. 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!
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017