This is a migrated thread and some comments may be shown as answers.

Setting ToolTipText in designer results in Errormessage

3 Answers 33 Views
Dock
This is a migrated thread and some comments may be shown as answers.
ManniAT
Top achievements
Rank 2
ManniAT asked on 11 Feb 2008, 03:25 PM
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

3 Answers, 1 is accepted

Sort by
0
Boyko Markov
Telerik team
answered on 11 Feb 2008, 04:17 PM
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
0
ManniAT
Top achievements
Rank 2
answered on 11 Feb 2008, 04:47 PM
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
0
Boyko Markov
Telerik team
answered on 12 Feb 2008, 07:17 AM
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
Tags
Dock
Asked by
ManniAT
Top achievements
Rank 2
Answers by
Boyko Markov
Telerik team
ManniAT
Top achievements
Rank 2
Share this question
or