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

RadComboBox with RadWindow popup edit

1 Answer 97 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Jimmy Chen
Top achievements
Rank 1
Jimmy Chen asked on 06 Apr 2010, 05:09 PM
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

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 08 Apr 2010, 01:16 PM
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.
Tags
Sharepoint Integration
Asked by
Jimmy Chen
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or