Radmenu nightmare

3 posts, 0 answers
  1. Antonio Ibáñez Oliva
    Antonio Ibáñez Oliva avatar
    13 posts
    Member since:
    Aug 2012

    Posted 13 Jul 2012 Link to this post

    Hi, i'm using radmenu with a few buttons, and submenus... This has happened to me 3 times. When i try to change the name of a item directly on the property window, not the item collection window, i get the error "The value can't be null. Parameter name objecttype":

    en System.ComponentModel.TypeDescriptor.TypeDescriptionNode.GetRuntimeType(Type objectType)
    en System.ComponentModel.TypeDescriptionProvider.GetRuntimeType(Type reflectionType)
    en Microsoft.VisualStudio.Design.MultiTargetingContextProvider.GetRuntimeType(Type objectType)
    en Microsoft.VisualStudio.Design.Serialization.CodeDom.HandlesClauseManager.GetFieldType(String fieldName, Type documentBaseType)
    en Microsoft.VisualStudio.Design.Serialization.CodeDom.HandlesClauseManager.GetReferencedComponentType(String componentName, CodeTypeDeclaration codeTypeDecl, ITypeResolutionService loader, IDictionary& cache)
    en Microsoft.VisualStudio.Design.Serialization.CodeDom.HandlesClauseManager.ParseHandlesClauses(CodeTypeDeclaration codeTypeDecl, Boolean updateCache)
    en Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomParser.OnMethodPopulateStatements(Object sender, EventArgs e)
    en System.CodeDom.CodeMemberMethod.get_Statements()
    en System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration)
    en System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
    en Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
    en Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)
    And now every time i open the designer i get this error.

    Any help?

  2. Antonio Ibáñez Oliva
    Antonio Ibáñez Oliva avatar
    13 posts
    Member since:
    Aug 2012

    Posted 13 Jul 2012 Link to this post

    The error is related to the handlers of click event of radmenuitem when i copied the code from other form.
  3. DevCraft banner
  4. Stefan
    Stefan avatar
    2891 posts

    Posted 16 Jul 2012 Link to this post

    I am glad to hear that everything is OK with this case.

    Should you have any other questions, do not hesitate to contact us.

    Kind regards,
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Back to Top