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

RadWindow open() error with AJAX

2 Answers 94 Views
Window
This is a migrated thread and some comments may be shown as answers.
Dragan
Top achievements
Rank 1
Dragan asked on 10 Mar 2010, 11:39 AM
Hi guys,

I have the following problem regarding the RadWindow opening, and it is related to AJAX. I have the following for the ajax settings.

 <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
        
         <telerik:AjaxSetting AjaxControlID="TabStrip">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="TabStrip" />
                    <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        
            <telerik:AjaxSetting AjaxControlID="grdAttachments">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="grdAttachments" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            
            <telerik:AjaxSetting AjaxControlID="cboWorkflowAction">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="cboWorkflowForwardTo" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        
            <telerik:AjaxSetting AjaxControlID="rblTargetCodeSelector">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="pnlSingleCountry" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            
            <telerik:AjaxSetting AjaxControlID="rblTargetCodeSelectors">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="pnlSingleCountry" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            
            <telerik:AjaxSetting AjaxControlID="grdActions">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="grdActions" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
                
            <telerik:AjaxSetting AjaxControlID="rblTargetCodeSelector">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="pnlMultipleCountries" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>                
            </telerik:AjaxSetting>
            
            <telerik:AjaxSetting AjaxControlID="rblTargetCodeSelectors">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="pnlMultipleCountries" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            
        </AjaxSettings>

    </telerik:RadAjaxManager>

And I try to open the rad window through an a-href link from within a grid. Now, the problem is the following. When I comment out the lines on top for the ajax settings, then the radwindow opens. Otherwise I get a JS error: Object Expected.

Please help on this one as I could not find the specifics in other threads.

Thanks,
lektira 

2 Answers, 1 is accepted

Sort by
0
Dragan
Top achievements
Rank 1
answered on 15 Mar 2010, 11:44 AM
Any news on this one?

Thanks!
0
Svetlina Anati
Telerik team
answered on 15 Mar 2010, 12:07 PM
Hi Dragan,

The provided code is not enough to find the reason for the problem. One possible reason could be that you are trying to open the RadWindow before the RadWindowManager client object is created but we cannot know whether it is so because we do not have all the relevant code.

What I can suggest is open a new support ticket and attach a simple reproduction demo there along with reproduction steps. Once we receive this we will fix the problem and you will be able to apply the same fix for your original application.

On a side note, forums are considered community resources and we do not guarantee a response here - to ensure that you will get a faster and guaranteed reply, please use our support system.


Best wishes,
Svetlina
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
Tags
Window
Asked by
Dragan
Top achievements
Rank 1
Answers by
Dragan
Top achievements
Rank 1
Svetlina Anati
Telerik team
Share this question
or