Simple Example - Get String out of a RadWindow back

2 posts, 0 answers
  1. ITA
    ITA avatar
    383 posts
    Member since:
    Aug 2009

    Posted 08 May 2013 Link to this post


    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.

    Best Regards
  2. Yana
    Yana avatar
    4548 posts

    Posted 13 May 2013 Link to this post

    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,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top