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

Error "Only one instance of a scriptManager can be added on page"

1 Answer 295 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Venkatesh
Top achievements
Rank 1
Venkatesh asked on 08 Dec 2012, 08:12 AM
Hi,
I have a rad grid on my page. I added the below ajax code from one of the examples available in the rad grid site:

<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="radgrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="radgrid1"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>


I am getting the error "Only one instance of a ScriptManager can be added to the page".

How to fix this?
Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Jayesh Goyani
Top achievements
Rank 2
answered on 10 Dec 2012, 04:36 AM
Hello,

Please remove below code line.

<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />

Note : we are not able to write above tag is multiple times. If you already added above code in master page then do not need to write in child/content page.



Thanks,
Jayesh Goyani
Tags
Grid
Asked by
Venkatesh
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or