Help Anyone?How do I access Inner Class Property

N

Nigil LaVey

hi guys,

I am having this problems too... if I inherits it from
System.Web.UI.WebControl.WebControls.. it works fine.. but if I inherits it
from System.Web.UI.Control. I am unable to edit those property via ".aspx
"page and all those Nested Class Property will be gone also.

for source code reference.please go to the following links.
http://support.microsoft.com/default.aspx?scid=kb;EN-US;324301

try to run that sample and change the inherit class
"System.Web.UI.WebControls.WebControl
" to "System.Web.UI.Control"

[DefaultProperty("EmployeeInfo"),
ToolboxData("<{0}:EmployeeControl runat=server></{0}:EmployeeControl>")]
public class EmployeeControl: System.Web.UI.Control

so did u manage to solve it?

please advise,
Nigil
 

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

Members online

No members online now.

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,123
Latest member
Layne6498
Top