using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Web.UI;

public partial class WebUserControl : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        System.Web.UI.Page page = (System.Web.UI.Page)this.Page;
        MasterPage mp1 = (MasterPage)page.Master;
        Label lbl = (Label)mp1.FindControl("Label1");

        RadAjaxManager.GetCurrent(Page).AjaxSettings.AddAjaxSetting(Button1, lbl);
    }

    protected void Button1_Click(object sender, EventArgs e)
    {
        System.Web.UI.Page page = (System.Web.UI.Page)this.Page;
        MasterPage mp1 = (MasterPage)page.Master;
        Label lbl = (Label)mp1.FindControl("Label1");
        lbl.Text = "Shopping Cart total";

    }

}