Hi,
I want to display the Formula builder dialog with all the columns from the grid as operands. I saw a sample of this in Appstylist application of Infragistics under the Grid tab, on click of Edit formula.
How can i achieve similar functionality? Help is highly appreciated.
Thanks
I'm not sure right off the top of my head what three buttons you are referring to. But if the FormulaBuilder dialog is showing a MessageBox internally, then there is probably no way to change that.
Hi Mike,
Thanks again for your response. This feature is new to me and helpful. However this does not complete resolve my problem. I want to change the behaviour when there is a syntax error. In case of syntax error i want to clear the formula and reset to previous value. Hence in this case I will not need the 3 buttons Yes, No and Cancel as they appear right now.
Is there a way to customise this?
You can customize any strings dislpayed to the user using the ResourceCustomizer class. Here's a link to the online help that should point you in the right direction: Assembly Resource Strings
Thanks for your response Mike. I have achieved most of my objective, but I am stuck at a point of customising the Formula Builder Dialog. Is it possible to override the following message that comes in Formula Builder Dialog when there is a syntax error:
"The current formula has one or more syntax error, Do you wish to assign this anyway"
formulaBuilderDialog.HasSyntaxError but the above message still appears.
Any help?
There's a FormulaBuilderAtRunTime sample included with NetAdvantage under the CalcManager samples that demonstrates how to do this.