Setting ToolTipText in designer results in Errormessage

4 posts, 0 answers
  1. ManniAT
    ManniAT avatar
    877 posts
    Member since:
    Nov 2003

    Posted 11 Feb 2008 Link to this post

    Hi,

    if I set ToolTipText in RadPanelBarGroupElement it works.
    This means if I run the program it shows up the tooltip.
    This is new (a fix I would say) in Q3 SP1.

    But when I close the form (in VS) and open it again I get the following error messsage:

    ---------------------------

    ---------------------------
    Error setting property "ToolTipText" in class "Telerik.WinControls.RadItem" to value "TestTT".

    The error was:
    System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

       bei System.ComponentModel.ReflectPropertyDescriptor.SetValue(Object component, Object value)

       bei Telerik.WinControls.Design.RadObjectCustomPropertyDescriptor.SetValue(Object component, Object value)
    ---------------------------
    OK  
    ---------------------------

    Regards

    Manfred

  2. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 11 Feb 2008 Link to this post

    Hi Manfred Pohler,

    I confirm this issue. It will be addressed as soon as possible.

    As a workaround, I suggest setting the ToolTips through the API of RadPanelBar by getting the instance of
    the captionElement using the GetCaptionElement method and setting its ToolTipText and AutoToolTip properties.

    Please write me back if you have additional questions.

    Kind regards,
    Boyko Markov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. ManniAT
    ManniAT avatar
    877 posts
    Member since:
    Nov 2003

    Posted 11 Feb 2008 Link to this post

    Hi,

    setting the ToolTip via code like you suggested already worked before SP1.
    The difference (I see for SP1), that (at runtime) I can directly use ToolTipText as porperty and don't have to mess around with ".GetCaptionElement" and such things.

    But I would say the new property is buggy!

    Regards

    Manfred
  5. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 12 Feb 2008 Link to this post

    Hi,

    You're right Manfred. We've had an issue with this property and we've already fixed it. The fix would be present in the next release of RadControls for WinForms. We greatly appreciate your valuable feedback.

    Your points have been updated!



    Best wishes,
    Boyko Markov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top