North American Sales: 1-800-231-8588
Global Contacts
My Account
Menu
North American Sales: 1-800-321-8588
My Account
Sign In/Register
Design & Development
Design & Develop
Best Value
Infragistics Ultimate
The complete toolkit for building high performing web, mobile and desktop apps.
Indigo.Design
Use a unified platform for visual design, UX prototyping, code generation and application development.
Web
Ignite UI for Angular
Ignite UI for JavaScript
Ignite UI for React
Ultimate UI for ASP.NET
Indigo.Design
Desktop
Ultimate UI for Windows Forms
Ultimate UI for WPF
Prototyping
Indigo.Design
Mobile
Ultimate UI for Xamarin
Ultimate UI for iOS
Ultimate UI for Android
Automated Testing Tools
Test Automation for Micro Focus UFT: Windows Forms
Test Automation for Micro Focus UFT: WPF
Test Automation for IBM RFT: Windows Forms
UX
Indigo.Design Desktop
Collaborative prototyping and remote usability testing for UX & usability professionals
Indigo.Design
A Unified Platform for Visual Design, UX Prototyping, Code Generation, and App Development
Business Intelligence
Reveal Embedded
Accelerate your time to market with powerful, beautiful dashboards into your apps
Reveal App
Empower everyone in your organization to use data to make smarter business decisions
Team Productivity
Learn & Support
Support
Help & Support Documents
Blogs
Forums
Product Ideas
Reference Applications
Customer Stories
Webinars
eBook & Whitepapers
Events
Free Trials
Pricing
Product Pricing / Buy Online
Renew Existing License
Contact Us
Forums
Ultimate UI for Windows Forms
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
Close
State
Not Answered
Replies
16 replies
Subscribers
6 subscribers
Views
2073181 views
Users
0 members are here
UltraGrid
Share
More
Cancel
440
help, with layout...
leon
posted
over 14 years ago
I am having a problem when a referenced tlb file is being used to call forth a window which contains a ultrawingrid, each time the showdialogue call is made for that window, the last event that fires before I get an error is the grid.initializelayout event(and method), then as soon as it comes out of the method, it generates the error, which is ArithmaticException, Overflow or underflow in the arithmetic operation This then lets me continue, but grid has a big red x across it, then if i reload the second time the same form from a similar call, i get the window opening normally, no problem....almost like some of the grids properties had not been instantiated the first time. ANyone can help with this please...
Parents
No Data
Reply
440
leon
posted
over 14 years ago
Maybe if I can get the event that is fired right after this initializelayout event, i would maybe be able to override it and get some debugging code in place to see what is going on, but i do not know what event is fired right after the initializelayout event (for the grid during a form_load() event). Anyone know event order that is fired for ultrwingrids?
Cancel
Reply
Cancel
Children
440
leon
posted
over 14 years ago
in reply to
leon
I have gained some ground, i think, I now know from certain debugging traces and reading a few places what the error pertains to, and the grid is bound to a datasource, and if i unbind the datasource right before i call showdialogue, then i do not get this error, but whenever later on i try to reattach the same datasource, i get an error which is the arithmeticexception error i stated previously. Anyone have any ideas...?
Cancel
Reply
Cancel