Scenario :
I am using ultragrid with wincalcmanager in my application.
Ultragrid has two bounded columns : Roll (int),Name(string).
My applicaton lets the user build a formula for particular column by showing formula builder dialog at runtime.
User can also add some unbound columns to the grid.
Suppose, user adds one unbound column 'Marks' of type int to the grid and try to set formula for that column by selecting 'Name' which of type string from operands pane of formula builder dialog.When user click OK button on formula builder dialog application throws system.format exception saying 'Input string is not in correct format' .The application shows unhandled exception dialog and then grid shows big RED cross.
If I perform the same case for bounded column 'Roll' which is also of type int , I doesn't get any type of exception and Roll column shows the same values which are in the Name Column.
I am not getting why this is happening.The exception which I get is Uncatchable.
I think this is serious problem with wincalcmanager.
If anybody came across this problem , please help me to resolve this problem.
Can you reproduce this with the FormulaBuilder at Run-time sample included with NetAdvantage?
Perhaps you should Submit an incident to Infragistics Developer Support
ya Surely.
In FormulaBuilder at Run-time sample , there are 3 unbound columns in the grid which are of type String.
If we change datatype of any one unbound column to Int or decimal and apply formula containing column of type string to that particular column ,
we get unhandled exception when we click OK button of formula builder dialog.
Any one from your development team can try out this.If you are unable to reproduce this bug let me know so that I will post the code for producing this bug.
I think it is serious bug .This bug is also exist in 8.1
Well i also had a similar problem. The resolution that i used was that while adding the unbound column do not set any data type for that column. The datatype will be decided at run time as per the output of the formula. This works great in my application.