Winforms SpinEditor - Access The Internal Textbox Properties

4 posts, 1 answers
  1. Duane
    Duane avatar
    37 posts
    Member since:
    Sep 2010

    Posted 08 Nov 2010 Link to this post

    Hi,
     
    Please can any one advise if there is any way to access the internal textbox of the RadSpinEditor? I can see you can access the properties of the internal RadSpinElement, using the SpinEditor's "SpinElement" property.

    We are porting existing .net controls over to the Telerik Rad controls and I need to access the "SelectedText", "SelectionLength", and "SelectionStart" properties of the text box to keep existing functionality the same.

    Any help appreciated.

    Regards,
    Duane,

  2. Answer
    Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 08 Nov 2010 Link to this post

    Hi Duane,

    This should get you to the section that you need.

    Me.RadSpinEditor1.SpinElement.TextBoxItem.SelectionStart

    Let me know if you need further help
    Richard
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 09 Nov 2010 Link to this post

    Hi Duane, 

    If this managed to solve your issue, then please mark as answer. If you need any other help however, just let me know. 
    Thanks
    Richard
  5. Duane
    Duane avatar
    37 posts
    Member since:
    Sep 2010

    Posted 09 Nov 2010 Link to this post

    Hi Richard,

    Thank you for your prompt reply. That is indeed what I needed to know. The answer marked as requested.

    Kind regards,
    Duane.
Back to Top