ValueChanged event and error on WPF application start.

2 posts, 0 answers
  1. Grzesiek
    Grzesiek avatar
    105 posts
    Member since:
    Jun 2007

    Posted 24 Mar 2012 Link to this post

    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.
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 29 Mar 2012 Link to this post

    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 >>
Back to Top