using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class Controls_cartbutton : System.Web.UI.UserControl { protected void Page_Load(object sender, EventArgs e) { } private string _Text; public string Text { get { return this._Text; } set { this._Text = value; } } protected void text_ph_Load(object Src, EventArgs E) { Literal l = new Literal(); PlaceHolder ph = (PlaceHolder)Src; l.Text = this.Text; ph.Controls.Add(l); } }