Infragistics Wrapper


Author
Message
Larry Caylor
Larry Caylor
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K

After upgrading a project from SF v1.5x to v1.6 I’m having problems with the Infragistics controls. I have Net Advantage 2006 vol 3 installed on the system and have added the references to the updated DLLs to the project reference list. Everything compiles OK but I’m getting an error when I try to access a Infragistics control. If I delete then re-add the control it works okay.

 

-Larry

 


Larry Caylor
Larry Caylor
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K
Regarding my previous post, so far the problem seems to be limited to the Infragistics UltraComboEditor. The ListView and Masked text Boxes appear to be OK.

-Larry

StrataFrame Team
S
StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
So, when you delete the control from the form and re-add and re-configure it, the NullReferenceException goes away?  That's very curious.
Larry Caylor
Larry Caylor
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K

That’s it. The project compiles with no errors but when I click on an ultra combo editor control I get the null exception. Closing the exception window causes another null exception to be displayed (one for each UCE on the form). Simply re-configuring the existing UCE doesn’t work. The control must be deleted, re-added to the form, and configured for it to work.  

 

On a related topic, I noticed that the Infragistics controls still default to IgnoreManagedReadOnlyState = True which is just the opposite of the SF controls.

 

-Larry

 

StrataFrame Team
S
StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Bah, yes, the IgnoreManageUIReadOnlyState property was not fixed in the 1.6 release... the work item for it got bumped to a different page in the report.  As for having to delete the ComboEdit... that's strange.  I'll have to look into it.
Larry Caylor
Larry Caylor
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K

I’ve narrowed it down to the configuration that causes the error. Setting Sorted = True under StrataFrame Item Population for an Infragistics UltraComboEditor will cause an exception when you click on the control to display the drop down list. It should be easy to reproduce.

 

-Larry

 

StrataFrame Team
S
StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Excellent... thanks for the details.
Larry Caylor
Larry Caylor
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K

I was wondering if you were able to reproduce this issue. While I can develop in v1.6 it’s preventing me from actually using 1.6 in production.

-Larry

StrataFrame Team
S
StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Yes, and no, Larry... when I drop a wrapped UltraComboEditor on a form and set the sort, then yes, it throws the exception... however the stack trace does not reference a single StrataFrame method.  So, I wanted to debug the issue and see what was being set to null, so I opened up the Infragistics source code, but since they do not distribute the .snk file for their source code, I had to change the reference to my compiled DLL.  When I did that, everything worked perfectly... no issues.  The only thing I did was change the reference.  It was the exact same code (at least I think it was... the source code they distribute might be different from the source code used to build their deployment DLLs).  So, I don't know what to tell you.  Yes, I can reproduce it, but looking at their code I cannot even fathom what might be throwing a NullReferenceException (all it does is retrieve a bunch of appearance stuff).  And when I build their source so that I can step through it, everything works fine, no NullReferences.
Larry Caylor
Larry Caylor
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K

Ben,

Thanks for looking into this. I did some more checking and found that I could reproduce the problem using the DataBinding VB sample that is distributed with the Net Advantage Suite… looks like it is definitely their problem. I’ve submitted a support request with them.

-Larry

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search