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
9364
Issue having Grid with its own CalcManager?
posted

I forgot there was another forum for CalcManager. So I have reposted this thread in the other forum. The link is

http://forums.infragistics.com/forums/p/12641/46974.aspx#46974 

 

 

I have a user control containing a ultrawingrid control. I have also added the calcmanager to this user control to let me do calculated columns on this grid.

 I am using this user control three times in my application but binding it to different data tables in the dataset. My problem is that the calculated value is not showing on the column. It is empty.

 Questions:

1. Is it okay for a calcmanager to be on a usercontrol or does it have to be on a form necessarily?

2. Since I am using the control three times, there would be three instance of the calcmanager that would instantiated. Would you say I am introducing extra overhead by having three instances? Should I try to implment such that three user control instances are sharing one calcmanager?

3. What could be causing the calculated value not showing? I notice that the statement

grid.CalcManager = this.ultraCalcManager1  was not automatically added by the designer. When I add it manually to the user control's constructor, I get this runtime exception  CalcManager requires that a unique name be given to every control participating with the calc manager.

 

Thanks!

 

Parents
No Data
Reply Children
No Data