Re-load RadComboBox from RadWindow control

Thread is closed for posting
1 posts, 1 answers
  1. Answer
    AB74794F-09D3-4471-8F45-905AC91FDDD0 avatar
    240 posts
    Member since:
    Oct 2007

    Posted 16 Dec 2008 Link to this post


    RadControls version

    .NET version

    Visual Studio version

    programming language

    browser support

    all browsers supported by RadControls

    Have you built Admin pages that contains RadComboBoxes with lookup data such as "Phone Types", with items like, "Home", "Work", "Fax"?  But you really want to choose "Cell Phone", and you don't want to leave this page to go to the settings to add the "Cell Phone" item to the "Phone Types" collection.

    This example shows you how to place a link next to the RadComboBox that can open a RadWindow.  Inside the RadWindow is a RadGrid control that allows you to manage the items in the "Phone Types" (or any other data), then close the window and the RadComboBox on your parent page is updated!

    You haven't left the page and you've updated the items and you can continue your work.  This is a helpful time saver when it comes to daily work on your application.

    Note: I used Linq To Sql in this example so you would need the 3.5 .Net Framework to run this example.  But you can use any data access method you want to do the same thing.

    With the help of some Forum postings I was able to get this to work and I hope it helps you.

    King Wilder
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.