RadComboBox with RadWindow popup edit

2 posts, 0 answers
  1. Jimmy Chen
    Jimmy Chen avatar
    5 posts
    Member since:
    Mar 2010

    Posted 06 Apr 2010 Link to this post

    Hi,

    How do you popup a RadWindow to allow user to enter some input, close the window, and add the inputted text to the RadComboBox?
    What is the best way to do this?  I am trying to do this in a webpart.

    Can controls be inserted into RadWindow programmatically?
    How is information passed between the RadComboBox and RadWindow?

    I tried doing this.

    RadWindow popupWindow = new RadWindow();
    popupWindow.VisibleOnPageLoad = true;
    popupWindow.Modal = true;
    Controls.Add(popupWindow);

    Popupwindow will show up but how do I add controls to the popupWindow?
    Please help! Thank you!

    Jimmy
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 08 Apr 2010 Link to this post

    Hello Jimmy Chen,

    RadWindow can be used as a controls container only in the recent version (Q1 2010). In the version that you currently use - Q1 2009, this is not possible.

    The links below will help in what you want to achieve. The first link shows how to send and receive arguments to and from a RadWindow:
    http://www.telerik.com/help/aspnet-ajax/window_programmingusingradwindowasadialog.html
    As for setting the text in the combobox, you need to use the set_text) method as shown in this help article:
    http://www.telerik.com/help/aspnet-ajax/combo_clientsideradcombobox.html

    All the best,
    Georgi Tunev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

Back to Top