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

Reload ComboBox on RadWindow close

1 Answer 115 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Johan
Top achievements
Rank 1
Johan asked on 06 Sep 2011, 09:59 AM
Hi,

I was wondering if it is possible to reload a RadComboBox client side?

I basiicaly need to reload the contents of the comobox during the OnClientClose event of my RadManagerManager.

I appreciate your help.

Thanks

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 06 Sep 2011, 10:56 AM
Hello Reno,

One suggestion is that add RadAjaxManager on page and call the AjaxRequest to Rebind the RadComboBox on clossing the RadWindow. At the server side you can Rebind the RadComboBox from the "RadAjaxManager1_AjaxRequest" method.

Javascript:
<script type="text/javascript">
function ClientClose()
{
    $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest();
}
</script>
 
C#:
protected void RadAjaxManager1_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e)
{
     //Bind the RadComboBox
}

Thanks,
Shinu.
Tags
ComboBox
Asked by
Johan
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or