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

Simple Example - Get String out of a RadWindow back

1 Answer 5 Views
Window
This is a migrated thread and some comments may be shown as answers.
ITA
Top achievements
Rank 1
ITA asked on 08 May 2013, 01:50 PM
Hi,

i want to open a RadWindow with an AutoCompleteBox on it. When i get back to my user control i want
to read the Searchtext from the AutoCompletexBox! I can't find an example or something helpful.

Thanks
Best Regards
Rene

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 13 May 2013, 08:58 AM
Hello Rene,

You could check here how to use RadWindow as a UserControl - you just need to place the AutoCompleteBox in the UserControl and bind its SelectedItem property to a property of the UserControl. After that subscribe to the Closed event of the Window and in its event handler get the SelectedItem.

I have attached a simple project to demonstrate the approach, hope it helps.

All the best,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Window
Asked by
ITA
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or