Hello,
I simply want to update control on MaterPage. Here is the Master Page aspx code:
I simply want to update control on MaterPage. Here is the Master Page aspx code:
<telerik:RadScriptManagerID="RadScriptManager1"runat="server"></telerik:RadScriptManager><telerik:RadAjaxManagerrunat="server"ID="RadAjaxManager"><AjaxSettings><telerik:AjaxSettingAjaxControlID="Button1"><UpdatedControls><telerik:AjaxUpdatedControlControlID="Panel1"/><telerik:AjaxUpdatedControlControlID="Label1"/></UpdatedControls></telerik:AjaxSetting></AjaxSettings></telerik:RadAjaxManager><asp:ButtonID="Button1"runat="server"Text="Button"/><h1> <asp:LabelID="Label1"runat="server"Text="Label"></asp:Label> </h1><asp:PanelID="Panel1"runat="server"><h1> <asp:LabelID="Label2"runat="server"Text="Label"></asp:Label> </h1></asp:Panel>
And the code behind is:What approach should I use ?protectedvoidPage_Load(objectsender, EventArgs e){this.Label1.Text = System.DateTime.Now.ToLongTimeString();this.Label2.Text = System.DateTime.Now.ToLongTimeString();}