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

Pivot Grid Configuration Panel Question

2 Answers 115 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Rick
Top achievements
Rank 1
Rick asked on 02 Jan 2014, 04:48 PM

 

Hi,
Telerik 3Q 2013
New to telerik, have experience with other control suites.
I'm taking a dive into the Pivot Grid and running into some issues.
I would like to utilize a Configuration Panel with a pivot grid. I've set the appropriate properties and the configuration panel is not displaying.
I'm setting the data source at runtime via a DataTable.
I've opened the Demo project and noticed the configuration panel is built via the qsf namespace i.e. Telerik.QueckStart project.
Is there a two separate approaches to implementing the configuration panel?
The columns provided by the DataTable, have to be set to a column or a row?  I would like to give the user the ability drag and drop to and row or a column as they slice and dice data.

2 Answers, 1 is accepted

Sort by
0
Rick
Top achievements
Rank 1
answered on 02 Jan 2014, 06:49 PM
The main issue im currenlty running into is as I add EnableConfigurationPane=True.  The stack trace points to IScriptDescriptor.  Any ideas?
NullReferenceException: Object reference not set to an instance of an object.]
   Telerik.Web.UI.RadPivotGrid.DescribeProperties(IScriptDescriptor descriptor) +7053
   Telerik.Web.UI.RadPivotGrid.DescribeComponent(IScriptDescriptor descriptor) +49
   Telerik.Web.UI.RadCompositeDataBoundControl.Telerik.Web.IControl.DescribeComponent(IScriptDescriptor descriptor) +39
   Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(Control control) +182


---- current implementation

<telerik:RadPivotGrid ID="RadPivotGrid1" runat="server" AllowFiltering="true" AllowPaging="true"

ShowFilterHeaderZone="false" ShowDataHeaderZone="false" ShowRowHeaderZone="false"

ShowColumnHeaderZone="false" EnableConfigurationPanel="true" AllowSorting="true">

<%

--<Fields>

<telerik:PivotGridColumnField DataField=""></telerik:PivotGridColumnField>

<telerik:PivotGridRowField DataField=""></telerik:PivotGridRowField>

</Fields>--

 

%>

<%

--<ConfigurationPanelSettings Position="Left" DefaultDeferedLayoutUpdate="true" />--%>

</telerik:RadPivotGrid>


0
Antonio Stoilkov
Telerik team
answered on 07 Jan 2014, 09:32 AM
Hi Rick,

Based on your description it is hard to determine the cause of the problem. You could ensure that you are not using simple data-binding approach (using DataBind) to bind the RadPivotGrid because the ConfigurationPanel does not support it.

Additionally, I have assembled a sample page showing the functionality working on my side. You could observe the differences at your end.

Regards,
Antonio Stoilkov
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.
Tags
PivotGrid
Asked by
Rick
Top achievements
Rank 1
Answers by
Rick
Top achievements
Rank 1
Antonio Stoilkov
Telerik team
Share this question
or