The "EnablePageHeadUpdate" property of RadAjaxManager not work

2 posts, 0 answers
  1. Tracy
    Tracy avatar
    8 posts
    Member since:
    Mar 2013

    Posted 01 Jul 2015 Link to this post

    Here is my test page:


    <head runat="server">
    <script runat=server type="text/C#">
    public void Submit_Click(object sender,System.EventArgs eventArgs)
        this.Title = System.DateTime.Now.ToString();
    <form runat="server">
    <Telerik:RadScriptManager runat=server />
    <Telerik:RadAjaxManager runat=server EnablePageHeadUpdate=false>
            <Telerik:AjaxSetting AjaxControlID=Submit>
                    <Telerik:AjaxUpdatedControl ControlID=Submit />
    <asp:Button runat=server ID=Submit OnClick=Submit_Click />


    Even if the "EnablePageHeadUpdate" is set to false, the title of the page still change after clicking the button.

  2. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 06 Jul 2015 Link to this post

    Hi ,

    Note that in this scenario it is expected to have the client script executed on each button click event, as it is attached to the client click event of the button which executes on each click, no matter if the Ajax is enabled or not. The mentioned property will prevent updating the head on each request when independent Ajax request is executed.

    Maria Ilieva
    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
Back to Top