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

RadAjaxManager

3 Answers 52 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Kjell
Top achievements
Rank 1
Iron
Kjell asked on 26 Oct 2012, 07:04 AM
I am using RadAjaxManager and it works well, but to update a frame with RadAjaxManager have stop working.
I am using RegisterClientScriptBlock in code behind, and this works before i use RadAjaxManager....
How do I configure it to work again?
Using Page Language="VB"....

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="rcbMyLink">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="PanelNewInsert" LoadingPanelID="RadAjaxLoadingPanel1" />
                <telerik:AjaxUpdatedControl ControlID="PanelNewExternUrl" />
                <telerik:AjaxUpdatedControl ControlID="PanelNewInternUrl" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="lbSavePage">
            <UpdatedControls>       
                <telerik:AjaxUpdatedControl ControlID="PanelNewInsert" LoadingPanelID="RadAjaxLoadingPanel1" />
                <telerik:AjaxUpdatedControl ControlID="PanelNewExternUrl" />
                <telerik:AjaxUpdatedControl ControlID="PanelNewInternUrl" />
            </UpdatedControls>
        </telerik:AjaxSetting>
   </AjaxSettings>
</telerik:RadAjaxManager>


ClientScript.RegisterClientScriptBlock(Me.[GetType](), "scr", "<script>parent.TreeFrame.location.replace('" + MyMeny + "');</script>")

3 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 28 Oct 2012, 07:04 PM
Hello,

Please try with below code snippet.

ScriptManager.RegisterClientScriptBlock


Thanks,
Jayesh Goyani
0
Kjell
Top achievements
Rank 1
Iron
answered on 29 Oct 2012, 11:17 AM
I get error:
Compiler Error Message: BC30516: Overload resolution failed because no accessible 'RegisterClientScriptBlock' accepts this number of arguments.
0
Jayesh Goyani
Top achievements
Rank 2
answered on 30 Oct 2012, 05:42 AM
Hello,

ScriptManager.RegisterClientScriptBlock(Me, Me.[GetType](), "scr", "parent.TreeFrame.location.replace('" + MyMeny + "');", True)


Thanks,
Jayesh Goyani
Tags
Ajax
Asked by
Kjell
Top achievements
Rank 1
Iron
Answers by
Jayesh Goyani
Top achievements
Rank 2
Kjell
Top achievements
Rank 1
Iron
Share this question
or