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

Update RadWindow on Grid button click

1 Answer 95 Views
Window
This is a migrated thread and some comments may be shown as answers.
Kareem
Top achievements
Rank 1
Kareem asked on 20 Dec 2015, 03:20 PM

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?

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 21 Dec 2015, 08:00 AM
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
Tags
Window
Asked by
Kareem
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or