Reload ComboBox on RadWindow close

2 posts, 0 answers
  1. Johan
    Johan avatar
    19 posts
    Member since:
    Aug 2010

    Posted 06 Sep 2011 Link to this post

    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
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 06 Sep 2011 Link to this post

    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.
Back to Top