Ok, I almost got it, but the combo box is not refreshing.
In the parent page that launches the RadWindow, it also contains the RadComboBox control that should be reloaded when the RadWindow closes, and it isn't. The following code in the Default.aspx page is being executed, but the RadComboBox control doesn't reflect the reload.
private void LoadCombo() |
{ |
ClientsDb clients = new ClientsDb(); |
ddlClients.DataSource = clients.GetAllClients(); |
ddlClients.DataTextField = "Company"; |
ddlClients.DataValueField = "ClientID"; |
ddlClients.DataBind(); |
} |
|
protected void RadAjaxManager1_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e) |
{ |
LoadCombo(); |
} |
I have a small web site project that has everything as I need it in my project. I tried some suggestions from Shinu and almost got there. You can download it from
http://www.kingwilder.com/RadWindowToRadComboBoxSample.zip. (You'll need to add your own Telerik DLL)
If someone can look over the code and see what I'm missing, I would appreciate it.
Thanks,
King Wilder