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

Winforms SpinEditor - Access The Internal Textbox Properties

3 Answers 92 Views
SpinEditor
This is a migrated thread and some comments may be shown as answers.
Duane
Top achievements
Rank 1
Duane asked on 08 Nov 2010, 10:17 AM
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,

3 Answers, 1 is accepted

Sort by
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 08 Nov 2010, 10:29 AM
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
0
Richard Slade
Top achievements
Rank 2
answered on 09 Nov 2010, 11:37 AM
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
0
Duane
Top achievements
Rank 1
answered on 09 Nov 2010, 02:46 PM
Hi Richard,

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

Kind regards,
Duane.
Tags
SpinEditor
Asked by
Duane
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Duane
Top achievements
Rank 1
Share this question
or