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

    I simply want to update control on MaterPage. Here is the Master Page aspx code:
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    <telerik:RadAjaxManager runat="server" ID="RadAjaxManager">
            <telerik:AjaxSetting AjaxControlID="Button1">
                    <telerik:AjaxUpdatedControl ControlID="Panel1" />
                    <telerik:AjaxUpdatedControl ControlID="Label1" />
    <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>

    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?

    Jayesh Goyani
Back to Top