This is a migrated thread and some comments may be shown as answers.

PivotGrid Problem

19 Answers 364 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Ed
Top achievements
Rank 1
Ed asked on 17 Sep 2013, 10:54 AM
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" %>


19 Answers, 1 is accepted

Sort by
0
Ed
Top achievements
Rank 1
answered on 19 Sep 2013, 09:07 AM


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


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


Remove the encoding reference and the problem diappears.
0
Eyup
Telerik team
answered on 20 Sep 2013, 10:20 AM
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.
0
Ed
Top achievements
Rank 1
answered on 20 Sep 2013, 02:25 PM
Thank you for posting the work around.


Ed
0
John
Top achievements
Rank 1
answered on 05 Dec 2013, 07:06 PM
Thank you for posting this solution. It immediately solved the problem and was easy to find on Google. Keep up the outstanding support!
0
Carlos Eduardo
Top achievements
Rank 1
answered on 22 Jul 2014, 06:03 AM
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 
0
Carlos Eduardo
Top achievements
Rank 1
answered on 22 Jul 2014, 06:07 AM
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
0
Eyup
Telerik team
answered on 24 Jul 2014, 10:37 AM
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.

 
0
Shannon
Top achievements
Rank 1
answered on 07 Apr 2015, 05:13 PM

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

Shannon

0
Eyup
Telerik team
answered on 10 Apr 2015, 01:49 PM
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.

 
0
Shannon
Top achievements
Rank 1
answered on 10 Apr 2015, 03:33 PM
That did it! Thanks!
0
John
Top achievements
Rank 1
answered on 08 Mar 2017, 03:59 PM

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

It's still an issue in latest release 2017.1.228

0
Eyup
Telerik team
answered on 10 Mar 2017, 01:31 PM
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.
0
John
Top achievements
Rank 1
answered on 10 Mar 2017, 01:53 PM

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.

0
Vessy
Telerik team
answered on 15 Mar 2017, 09:03 AM
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.
0
John S.
Top achievements
Rank 1
answered on 03 Jun 2017, 05:51 PM

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. 

 

0
Rumen
Telerik team
answered on 05 Jun 2017, 03:08 PM

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.
0
John S.
Top achievements
Rank 1
answered on 05 Jun 2017, 03:22 PM

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 

 

 

 

0
Rumen
Telerik team
answered on 07 Jun 2017, 07:06 AM

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.
0
Luc
Top achievements
Rank 1
answered on 06 Nov 2017, 01:22 PM

Same here.

Just started using pivotgrid. 
Out of the box it is wrong, so applied work-around.

Do you recommend another way to go for Web dev, instead of ajax.

Tags
PivotGrid
Asked by
Ed
Top achievements
Rank 1
Answers by
Ed
Top achievements
Rank 1
Eyup
Telerik team
John
Top achievements
Rank 1
Carlos Eduardo
Top achievements
Rank 1
Shannon
Top achievements
Rank 1
John
Top achievements
Rank 1
Vessy
Telerik team
John S.
Top achievements
Rank 1
Rumen
Telerik team
Luc
Top achievements
Rank 1
Share this question
or