The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I''ve made a custom grid class that inherits GridControl. One of the custom properties I''ve added to this class calls the Refresh method when its value is set.
If I place this custom grid control onto a form and set the value of that custom property in the Property Designer window, VS.NET automatically places code in the InitializeComponent method that it creates for the form. This has the result of the grid getting it''s Refresh method called before it is completely initialized by the form.
Is there any way to tell when a grid has been completely initialized?
ADAdministrator Syncfusion Team June 9, 2005 07:18 PM UTC
I must be blind. The Initializing property does this.
ADAdministrator Syncfusion Team June 9, 2005 07:23 PM UTC
Can you test !Form.DesignMode before calling Refresh to avoid the call at design time?
Another option might be to override Initialize. There you could set a property after the base class call to inidicate the grid has been initialized.