how to set Reference for dynamic control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i am using dynamic wizard control within a placeholder
i used the following code and g has null value

Wizard g = (Wizard)this.PlaceHolder1.FindControl("WizardControl");

can anyone help in this?
 
Hello System.Xml.XmlDocument,

Chech the hierarchy of PlaceHolder1.Controls, if your control is there

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


S> i am using dynamic wizard control within a placeholder i used the
S> following code and g has null value
S>
S> Wizard g = (Wizard)this.PlaceHolder1.FindControl("WizardControl");
S>
S> can anyone help in this?
S>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top