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

ValueChanged event and error on WPF application start.

1 Answer 13 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Grzesiek
Top achievements
Rank 2
Grzesiek asked on 24 Mar 2012, 04:22 PM
Hello!

I have problem. I placed RadNumericUpDown control and set its value to 15 for default.
Now, I added event for ValueChanged:

private void FVSdValue_ValueChanged(object sender, RadRangeBaseValueChangedEventArgs e)
   {
       HSdValue.Value = 0.2 * FVSdValue.Value;
   }

When I start application I'm getting NullReferenceException - the object couldn't be found (Object reference not set to an instance of an object.)

This happens also for other controls. What am I doing wrong?

The HSdValue is also RadNumericUpDown, located below the FVSdValue.

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 29 Mar 2012, 11:15 AM
Hi Grzesiek,

Could you please elaborate more on the issue. Sending us some more code related to the issue, so that we can reproduce it, it will be really helpful for tracking down the source of the problem in a timely manner.

Kind regards,
Konstantina
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
General Discussions
Asked by
Grzesiek
Top achievements
Rank 2
Answers by
Konstantina
Telerik team
Share this question
or