Problem with Xampivotgrid software crash

Asked By 40 points N/A Posted on -
qa-featured

Hello all

I am using XamPivotGrid to summarize my data and visualize the information to build a business analysis application.

I am trying to expand the dimensions related to filters, but I get the error' Object reference not set to an instance of an object”if the dimension related to that filter is not expanded.

The screenshot of the error is as follows:

BMS – GP – 2012

Object reference is not set to an instance of an object.

OK

I can't get to the root cause of the problem. can anyone please tell me what is the event fired at that time?

Please help me in fixing the issue. Any kind of help will be highly appreciated.

Waiting for your replies

Kind regards

Grace

SHARE
Answered By 0 points N/A #139187

Problem with Xampivotgrid software crash

qa-featured

Hello Mark, Thanks for your question, I am here to solve this problem, now follow the direction and i think it will help you out,

There still is a workaround you can apply, using a fixed size drop down. I have created a copy of data template applied to FilterFieldItemControl.ExpansionAreaContentTemplate

<StyleTargetType="igPrim:FilterFieldItemControl">

        <SetterProperty="ExpansionAreaContentTemplate">

            <Setter.Value>

                <DataTemplate>

                    <GridWidth="170"Height="210">

Setting the Width and the Height of the Grid will prevent firing Size Changed event for Expandable Field Item Control.

You can find all the resources and styles you need in the attached WinFormsHostedResourcesFix.xaml resource dictionary file.

Just apply these styles to your user control

    <UserControl.Resources>

        <ResourceDictionary>

            <ResourceDictionary.MergedDictionaries>

                <ResourceDictionarySource="WinFormsHostedResourcesFix.xaml"/>

            </ResourceDictionary.MergedDictionaries>

        </ResourceDictionary>

    </UserControl.Resources>

I hope that will work for you until we provide the fix.

Thanks again,

Bett Salvandor

 

Related Questions