This question is locked. New answers and comments are not allowed.
I am inheriting from a usercontrol that has a Toolstrip control on it, but when I open the design view of the child class I get the following error for each element in the inherited ToolStrip : -
Error getting RadControl item glyphs: System.NullReferenceException: Object reference not set to an instance of an object.
at Telerik.Wincontrols.Design.RadItemActionListGlyph..ctor(RadItemGlyph itemGlyph)
at Telerik.Wincontrols.Design.RadItemDesigner.EnsureItemGlyph()
at Telerik.Wincontrols.Design.RadItemDesigner.GetGlyphs(GlyphSelectionType selectionType)
at Telerik.Wincontrols.RadControlDesigner.GetGlyphs(GlyphSelectionType selectionType)
Error getting RadControl item glyphs: System.NullReferenceException: Object reference not set to an instance of an object.
at Telerik.Wincontrols.Design.RadItemActionListGlyph..ctor(RadItemGlyph itemGlyph)
at Telerik.Wincontrols.Design.RadItemDesigner.EnsureItemGlyph()
at Telerik.Wincontrols.Design.RadItemDesigner.GetGlyphs(GlyphSelectionType selectionType)
at Telerik.Wincontrols.RadControlDesigner.GetGlyphs(GlyphSelectionType selectionType)
5 Answers, 1 is accepted
0
Hello Sean,
Thank you for your inquiry. We checked the scenario with VS 2008 and our latest release and everything seems to work. Sending us a sample application demonstrating it will be very helpful in researching the issue further.
The inherited user control should be locked for editing ( you should see a lock in upper left corner of the control). Also we fixed a similar (or perhaps the same) bug in one of our previous releases.
To help you better in our support system, please ask your employer to include you as a licensed developer. Our website FAQ section contains more information on that.
Greetings,
Nick
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Thank you for your inquiry. We checked the scenario with VS 2008 and our latest release and everything seems to work. Sending us a sample application demonstrating it will be very helpful in researching the issue further.
The inherited user control should be locked for editing ( you should see a lock in upper left corner of the control). Also we fixed a similar (or perhaps the same) bug in one of our previous releases.
To help you better in our support system, please ask your employer to include you as a licensed developer. Our website FAQ section contains more information on that.
Greetings,
Nick
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Sean
Top achievements
Rank 1
answered on 30 Dec 2008, 01:40 AM
I have investigated further and found the anwser. I had changed all the 'private' to 'protected' in the parent class to allow accees for the child classes. When I changed to ToolStrip controls back to private everything worked fine. This is not an issue for non-Telerik controls.
0
Hello Sean,
I am glad you found a solution for the issue.
It seems to be fixed in our latest release (2008 Q3 SP1).
All the best,
Nick
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
I am glad you found a solution for the issue.
It seems to be fixed in our latest release (2008 Q3 SP1).
All the best,
Nick
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
nick
Top achievements
Rank 1
answered on 30 Apr 2009, 07:02 PM
FYI - Same problem (and fix) with the RadMenuStrip
0
Hi nick,
Thank you for your feedback.
All the best,
Nick
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Thank you for your feedback.
All the best,
Nick
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.