Hi,
I have this error : "Connot built formula without an UltraCalcManager. Add an UltraCalcManager component to the form." at the Designer wizard when I click on formula. Why?
Is it because i am currently on a usercontrol and not in a form? It work in a charm in a form but in a usercontrol it does not. If, the usercontrol is the problem, let say that there is something wrong in your UltraCalcManager feature.
Carl
To create a formula at design time the grid needs a CalcManager present. Since your UserControl knows nothing about the form at design time it does not see the CalcManager. The calcmanager must be on the user control to use the formula designer. Otherwise you must set grid.CalcManager at runtime.
I did exactly what you wrote! If you read my first post you can learn that I did what you have suggested. That`s my problem; an error appears on design time when I click on formula eventhough my CalcManager is on the form.
Try it on you'll see (It takes only 5 minutes)
What`'s next?
Regards
Joseph-Carl Théodat
Hi Carl,
The grid must have an UltraCalcManager in order to support formulas. So if yuo want to set a Formula in the grid at design-time, then you will need to include a CalcManager in your UserControl.
If you don't want to do that and just want to use the same CalcManager that exists on the form where the UserControl resides, then what you can do is set the grid.CalcManager property at run-time and then set your formulas at run-time, also.