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

Using PivotGrid in MVC Application

1 Answer 126 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Aaron
Top achievements
Rank 1
Aaron asked on 02 Aug 2013, 04:41 PM
I am trying to integrate an OLAP Cube Browser into my MVC application. My application already uses the Kendo UI controls but there is no cube browser - like control in Kendo so I am trying to use the ASP.NET Ajax Pivot Grid on the MVC page instead.

I used the instructions in the documentation (http://www.telerik.com/help/aspnet-ajax/mvc-getting-started.html) to put the Pivot Grid on the page. It connects to my Analysis Services cube correctly and I can see my Dimensions and Measures in the "All Fields" section.  However, when I try to expand one of my dimensions to pick a member or hierarchy from it, the wait indicator shows up next to it and never goes away.

I used Fiddler to see that it is doing a post to my Controller but with no Action specified, therefore it just goes to my Index() action.  What should the control be posting to?  Is there a way to get the PivotGrid to work in MVC this way?  I haven't found any good alternatives so far and since the rest of the application is going to use Kendo I would prefer to stay within the Telerik family if possible.

Thanks,
Aaron

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 07 Aug 2013, 10:19 AM
Hello,

RadControls for ASP.NET Ajax as their name suggest are controls designed for ASP.NET Web Forms. They are not intended to be used in MVC scenario since they are using ViewState and server-side binding and events which are not available with ASP.NET MVC.

There are certain scenarios where one could make the control to be displayed on the page but not to behave as intended. The case with RadPivotGrid is that this control does not support any of its features inside MVC.

I hope the provided information helps.

Regards,
Andrey
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
Aaron
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or