Ask a Question related to ASP.NET Building Controls, Design and Development.
-
Nigil LaVey #1
Help Anyone?How do I access Inner Class Property
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.
[url]http://support.microsoft.com/default.aspx?scid=kb;EN-US;324301[/url]
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
"Teemu Keiski" <joteke@aspalliance.com> wrote in message
news:eBfO7v8jDHA.2536@tk2msftngp13.phx.gbl...code.> Have you specified the property with any design-time attributes?
>
> --
> Teemu Keiski
> MCP, Microsoft MVP (ASP.NET), AspInsiders member
> ASP.NET Forum Moderator, AspAlliance Columnist
>
>
> "stefano mostarda" <stefano.mostarda@grupponet.it> wrote in message
> news:u5gE9kzjDHA.2328@TK2MSFTNGP10.phx.gbl...> > Hi There,
> >
> > I have a problem.
> >
> > I have developed a customcontrol in c#.
> >
> > I have a property composed by 3 sub-property. I have implemented an
> > expandableobjectconverter and everything works fine.
> >
> > The problem is that every time I change this property, using property
> > window, and switch to html view no changes have been posted to htmlchanges> If> > I change the control code in html view and switch to page view all> I>> > made are transferred to control property.
> >
> > Any Idea???
> >
> > Thanks in advance
> >
> > Stefano Mostarda
> > Rome Italy
> >
> >
>
Nigil LaVey Guest
-
#29234 [Com]: empty($object->property) incorrect when property has access overloaded (__get)
ID: 29234 Comment by: phpbugs at thunder-2000 dot com Reported By: chrissy at codegoat dot com Status: No... -
Access DataGrid declared in derived class from base class??
Hi! I have a base class called ListBase.vb, from which I derive EmplList.ascx.vb. In EmplList.ascx.vb I declared a... -
Binding a textbox to a class property
This might sound like a elementary question but I've haven't been able to figure this one out. How can I bind the "text" property of a "textBox"... -
undefined class property
I've got this $user class that has a variable called $userIsSuperRoot. When I just set error_reporting to ALL I got an error on the last line that... -
Class property misunderstanding
Hi Jim, What you're dealing with here is scope. Variables have scope, which means that they are accessible at different levels depending upon how...



Reply With Quote

