RadWindow open() error with AJAX

3 posts, 0 answers
  1. Dragan
    Dragan avatar
    10 posts
    Member since:
    Jun 2009

    Posted 10 Mar 2010 Link to this post

    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. Dragan
    Dragan avatar
    10 posts
    Member since:
    Jun 2009

    Posted 15 Mar 2010 Link to this post

    Any news on this one?

    Thanks!
  3. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 15 Mar 2010 Link to this post

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