RadAjaxManager in MasterPage

2 posts, 0 answers
  1. Denisas
    Denisas avatar
    9 posts
    Member since:
    Apr 2010

    Posted 01 Feb 2012 Link to this post

    Hello,
    I simply want to update control on MaterPage. Here is the Master Page aspx code:
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadAjaxManager runat="server" ID="RadAjaxManager">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="Button1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="Panel1" />
                    <telerik:AjaxUpdatedControl ControlID="Label1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <asp:Button ID="Button1" runat="server" Text="Button" />
    <h1> <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> </h1>   
    <asp:Panel ID="Panel1" runat="server">
        <h1> <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label> </h1>
    </asp:Panel>

    And the code behind is:

    protected void Page_Load(object sender, EventArgs e)
    {
        this.Label1.Text = System.DateTime.Now.ToLongTimeString();
        this.Label2.Text = System.DateTime.Now.ToLongTimeString();
    }
    What approach should I use ?

  2. Jayesh Goyani
    Jayesh Goyani avatar
    2733 posts
    Member since:
    May 2010

    Posted 02 Feb 2012 Link to this post

    Hello Denisas ,

    Sorry but i am not able to understand your requirement.

    So, Can you please elaborate your requirement?


    Thanks,
    Jayesh Goyani
Back to Top