JurkMonkey
Programmer
I am adding custom controls to a placeholder at runtime. Once I create the custom control I am trying to set some values of the object inside the control but they are null.
Does anyone know why this might be?
Inside my Custom Control
Does anyone know why this might be?
Inside my Custom Control
Code:
protected void Page_Load(object sender, EventArgs e)
{
//btnCustomer is null at this point
btnCustomer.Text = customer.Name;
btnCustomer.PostBackUrl = "[URL unfurl="true"]http://www.google.ca";[/URL]
}