After moving an existing project containing serveral forms and datasets from Visual Studio 2003 to Visual Studio 2005 the SummaryItem on some of the the forms no longer shows in the grid Footer. The Footer shows a position for the SummaryItem but it is blank. GroupSummaryItems are working correctly. The summary items were defined using the designer. The SummaryType is Sum but changing it to Count (for example) does have any effect on the problem. The datatype of the columns being summed is System.Decimal. A DisplayFormat mask as follows is being used: "{0:###0.0#}" The XtraGrid is being used in bound mode with a typed Dataset.
Nothing has changed with the code other than moving to VS 2005 and the new new DevExpress controls.
The problem does not occur when creating a new test project in VS 2005. Only the project ported from VS 2003 to VS 2005 has the problem. What is very odd is that some other forms ported from VS 2003 to VS 2005 that have SummaryItems with identical configurations do not have this problem. I cannot see any differences between them however.
Any ideas are appreciated. Thank you
Steps to Reproduce:
- Extract the archive, preserving the directory structure.
- Open the project with VS 2005, build and run it.
Actual Results:
Note that the SummaryItems for the two columns are blank.
Expected Results:
Expected the SummaryItems to contain the sums for their respective columns.
Can you please provide us example?
Please see the attached project that demonstrates the SummaryItem drawing problem.
Thanks,
Greg Reeves
This problem appears to be related to the look and feel. If I choose the Office 2003 look and feel the problem does not occur.
Its been a long time since I submitted this problem. Is there anyone available to take a look at this?