RadMaskeditBox value casting problem

2 posts, 0 answers
  1. Aldemar
    Aldemar avatar
    41 posts
    Member since:
    Jan 2008

    Posted 20 Feb 2009 Link to this post


    I need to cast value property to double but it generates conversion error

  2. Aaron
    Aaron avatar
    8 posts
    Member since:
    Jul 2009

    Posted 29 Jul 2009 Link to this post


    Perhaps instead of using an explicit cast like this,

    double dValue = (double)radMaskedEditBox1.Value; 

    you could instead try convert the value to a string and then parse it into a double.

    double dValue = Double.Parse(radMaskedEditBox1.Value.ToString()); 

    Does this help?

  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top