We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Javascript runtime error



When i tried to bind the grid to  a cube I am getting the following error.

I am using SQL Server Cube as datasource and the code is provided below


protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            string connectionString = @"Provider=MSOLAP.3;Data Source=10.100.x.xx\dev;Catalog=XXX;";
            OlapDataManager DataManager = new OlapDataManager(connectionString);
            DataManager.DataProvider.ProviderName = Syncfusion.Olap.DataProvider.Providers.ActivePivot;
            CreateOlapReport();
        }
        catch (Exception ex)
        {

        }
    }

private OlapReport CreateOlapReport()
    {
        OlapReport olapReport = new OlapReport();
        olapReport.CurrentCubeName = "FRDDEV";       
        MeasureElements measureElementColumn = new MeasureElements();
        measureElementColumn.Elements.Add(new MeasureElement { Name = "RATE" });
        olapReport.CategoricalElements.Add(measureElementColumn);
        return olapReport;
}

Please help me i am a newbie to this.

3 Replies

RG Ramesh Govindaraj Syncfusion Team October 16, 2015 10:38 AM UTC

Hi Prasath,

Thank for using Syncfusion products.

We are unable to reproduce the reported problem at our end. We have prepared a simple sample, which is available in the following link.

Sample Link:  http://www.syncfusion.com/downloads/support/forum/120791/ze/OlapGrid_sample-182707771

Could you please reproduce the reported problem in the given sample and send back to us. It would be helpful for us to proceed further.

Regards,

Ramesh G.


PR prasath October 16, 2015 11:00 AM UTC

Hi Ramesh,
Thank you for your reply.

I will try to reproduce the same with this source and will get back to you ASAP.


RG Ramesh Govindaraj Syncfusion Team October 19, 2015 11:45 AM UTC

Hi Prasath,

We will wait until we hear from you.

Regards,
Ramesh G.

Loader.
Live Chat Icon For mobile
Up arrow icon