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

RadObjectCustomPropertyDescriptor Error

2 Answers 25 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ganeshram
Top achievements
Rank 1
Ganeshram asked on 15 Mar 2008, 03:24 PM

Support:
I was using trial version of Rad control and created few test screens and everything went on well except the popup.

I recently bought RadControlsWinforms_Q3_2007_SP1_dev_setup.exe .
When I installed the version I get the following error on the screen using panel.

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

When I checked your VB.NET sample ,panelbar-First Look>Form1.vb throws the same exception.The trial version I tried before the purchase is
RadControlsWinforms_Q3_2007_trial_setup.exe

I'm really struck now,the main page of my application is using the Panel and I can  rul the apps ;-).

Not sure whether the trial version got messed up with the actual?

Appreciate if you can help me to save me from redevloping the screen due to some control problem.

Regards,
Ganeshram.M

2 Answers, 1 is accepted

Sort by
0
Ganeshram
Top achievements
Rank 1
answered on 15 Mar 2008, 03:40 PM

Found the culprit code.
Me.radPanelBarGroupElement5.ToolTipText = Nothing.
So wierd was working with trial version? any way.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details.  The error is: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.WinControls.UI.RadPanelBarGroupElement.OnNotifyPropertyChanged(String propertyName)
   at Telerik.WinControls.RadItem.set_ToolTipText(String value)
   at cRewards.cRewardsMain.InitializeComponent() in D:\SalAdmin\2.Coding\6.Code\cRewards\cRewards\cRewardsMain.Designer.vb:line 850
   at cRewards.cRewardsMain..ctor()
   --- End of inner exception stack trace ---
   at cRewards.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190
   at cRewards.JobDetails.Form1_Load(Object sender, EventArgs e) in D:\SalAdmin\2.Coding\6.Code\cRewards\cRewards\JobDetails.vb:line 67
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at Telerik.WinControls.UI.ShapedForm.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at Telerik.WinControls.UI.ShapedForm.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
cRewards
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/SalAdmin/2.Coding/6.Code/cRewards/cRewards/bin/

0
Boyko Markov
Telerik team
answered on 17 Mar 2008, 11:47 AM
Hi Ganeshram,

Thank you for writing.

I wasn't able to reproduce the issue you described the current version of RadPanelBar. Could you please send me a simple project which demonstrates the behavior you've described in the support ticket you have opened. It will help me address any potential issue faster.

I'm looking forward to your reply.


All the best,
Boyko Markov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Ganeshram
Top achievements
Rank 1
Answers by
Ganeshram
Top achievements
Rank 1
Boyko Markov
Telerik team
Share this question
or