Reload issue after RadWindow close

4 posts, 0 answers
  1. anu
    anu avatar
    44 posts
    Member since:
    Dec 2007

    Posted 13 Aug 2008 Link to this post

    I have 2 RadAjaxPanels, one panel consists of drop down and another panel consists of text box, scheduler and radgrid. when the user enters text in the text box and clicks search button, another radwindow opens with all names and he can select any name given in the child radwindow and the child radwindow closes and the parent radwindow is reloaded. What I want is I dont want to reload the entire page, I dont want to change the selected values which are there in the drop down, I just want to reload the controls in the second panel.

    For that purpose I replaced some code in the javascript
    function CloseAndReload()
        var oWnd = GetRadWindow();
    If the above code is written the content radwindow javascript, now after selecting the name from the child radwindow, the sessions are repopulated but the controls are not bound and refreshed.However the value of the dropdown in the first panel remains the same, which I want.

    Any suggestions?

  2. Sean
    Sean  avatar
    54 posts
    Member since:
    Apr 2008

    Posted 13 Aug 2008 Link to this post

    I would have to see your actual code to be sure, but here is an example that does something simlar to what you wish. One thing you will need to do is set an AjaxManager to update all of the items in the second panel.

    Thanks for listening.

    Elsctronic Arts, Orlando FL
  3. anu
    anu avatar
    44 posts
    Member since:
    Dec 2007

    Posted 14 Aug 2008 Link to this post

    Thank you for the reply Sean, the RadAjaxManager and its Update controls are set. Checked the example, could not figure out a solution though as it is rebinding the RadGrid in either case. I just want to rebind the controls in the second panel.
  4. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 15 Aug 2008 Link to this post

    Hi Anu,

    I think that the page that Shaun provided should be of help, however I am not familiar with your exact setup. In general the idea is to use JavaScript ajaxRequest to rebind what you need on the parent page - that is what is done in that demo. More information on the subject is available in the documentation:

    If you still experience problems, please open a support ticket and send us a sample project that reproduces your setup and shows the problem - we will check it and do our best to help.

    Best wishes,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top