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

    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
  2. Yana
    Admin
    Yana avatar
    4554 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,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top