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.
Hi.
I have a project with a ComboBoxAutoComplete sitting on a GradientPanel. In 4.1.0.10 (beta), that worked with no problems.
In 4.1.0.50, the combo.AutoCompleteControl.EndInit() call (part of the auto-generated InitializeComponent) throws an exception because "ParentForm can not be null!". Looking at the source, I see that the real problem is that ParentForm is something other than Form. I''m guessing that''s a bug, rather than an intentional restriction.
Any ideas for a workaround? I''m currently calling InitializeComponent inside a try block and replicating the bypassed code inside a catch clause, but that''s pretty inelegant. My other attempted workarounds have been foiled by the Designer''s fondness for overwriting InitializeComponent...
Thanks, Tom
ADAdministrator Syncfusion Team January 24, 2006 09:13 PM UTC
I think this is also preventing the Designer from loading, with a "designer loader did not provide a root component" message.
If I manually change the InitializeComponent code from
.ParentForm = this.gradientPanel1;
to
.ParentForm = this;
then at least the Designer will load. (But it''ll throw away my changes...)
Repeat until frustrated.
TJTJJanuary 24, 2006 09:49 PM UTC
Found a workaround - I switched to using a standard ComboBox. It does auto-completion too, which is all I really need this time.
Thanks,
Tom
ARAnupama Roy Syncfusion Team January 25, 2006 12:05 PM UTC
Hi Tom,
We regret very much for the inconvienience caused. This exception occurs due to some code changes in the source inorder to implement AutoComplete.AutoPersistentDropDownSize property.
We have reproduced the issue and will make the necessary changes to fix this issue.
Thanks for your interest in Syncfusion products.
Regards,
Anu.
KIKai IskeJanuary 30, 2006 11:47 AM UTC
Hi,
does this apply to the release version of 4.1?
If not, what is the best workaround and when to expect a fix for it?
I am currently migrating a huge solution over to 4.1 and it seems this is what I came across.
Any help would be appreciated.
Regards
Kai