Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
35
custom dataprovider for xamlPivotGrid using wcf and ADOMD.NET
posted

i want to custom data provider for xamlPivotGrid using wcf and ADOMD.NET.by reading this article http://community.infragistics.com/blogs/engineering/archive/2010/10/26/building-a-custom-data-provider-for-xampivotgrid-in-silverlight-using-wcf-and-adomd-net.aspx,i do the same as it,the only difference is the version of Infragistics.i use v11.1, and demo in that article uses v10.3.the problem in my silverlight app is when i remove the last column from xamlPivotGrid and the column is empty.silverlight application throw exceptions,and the stack trace is

Error: Unhandled Error in Silverlight Application
Code: 4004   
Category: ManagedRuntimeError      
Message: System.NullReferenceException: 未将对象引用设置到对象的实例。
   位于 Infragistics.Controls.Grids.PivotColumnsPanel.CorrectFirstAxis(Size finalSize)
   位于 Infragistics.Controls.Grids.PivotHeaderPanel.ArrangeOverride(Size finalSize)
   位于 System.Windows.FrameworkElement.ArrangeOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)    

i give my app as attachment .  and you need add dll manual. need some one help !

PVDemo2.rar
Parents
No Data
Reply
  • 138253
    Offline posted

    Hello,

     

    It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking into your post, but since you haven’t sent me the DB of your sample and the steps I need to follow, I wasn’t able to reproduce your behavior, so if you sent me these things I could be able investigate this further for you.

     

    Feel free to write me if you have further questions.

Children
No Data