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

Getting instance of control from within a InlineUIContainer

1 Answer 29 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 10 Mar 2011, 05:17 AM
I have an InlineUIContainer that has a custom hyper link button inside of it. On the tooltip of the button I have inserted some TextBoxes into a RadWindow and then created a tooltip on the custom hyper link button. Then I have inserted the RadWindow into the tooltip. Now what I need to do is get the the value from the textbox in the tooltip. Do you know how I would do this?

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 15 Mar 2011, 04:29 PM
Hi Chris,

The InlineUIContainers have a property UiElement, which holds a reference to the UIElement that is embedded within it. That would give you a reference to your custom button. Starting from there, you should be able to access all elements along the way down to the text box.
If you need further assistance, do not hesitate to contact us again.

Kind regards,
Iva
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
RichTextBox
Asked by
Chris
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or