Update RadWindow on Grid button click

2 posts, 0 answers
  1. Kareem
    Kareem avatar
    8 posts
    Member since:
    Sep 2015

    Posted 20 Dec 2015 Link to this post

    Hello,
    I have a radwindow that uses ContentTemplate, I need to update a radComboBox inside the ContetnTemplate on the event of a LinkButtom Clicked in a RadGrid Control

    I tried using the AjaxManager like this

     

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
           <telerik:AjaxSetting AjaxControlID="grd_limousine">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="wnd_UpdateStatusWindow" />
                </UpdatedControls>
           </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

     

    I also tried to put the window inside a panel and set it as the control to be updated instead

    the problem is that when I used the AjaxManager on the radWindow it started returning null in this code

    function showWindow(windowID, url) {
        //window.radopen(null, 'wnd_UpdateStatusWindow');
        var window = $find(windowID);
        window.show();
    }
    Can anyone tell me why this happening and how to fix it?
  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 21 Dec 2015 Link to this post

    Hi Kareem,

    From the code sent I am unable to see how actually the controls in the ContentTemplate are updated. 

    However, these resources might help you to achieve the requirements:

    Regards,

    Ianko
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top