Hi all,
I have developed a custom ASP.NET server control and have a
property that
accepts the name of a public property on the page it is
hosted on. At design
time, when this control is placed on the page and this
property selected in
the property designer, I would like to present a list of
available public
Boolean properties that this page has.
Problem is, at design time I can only seem to get the base
page class of
System.Web.UI.Page in any references I look at. This is
whether I look at
Control.Parent.Parent type of scenario or use the ISite
services. For
example, if I get an instance of IDesignerHost, I can see
that the
RootClassName is my custom page but this does not include
the namespace, so
I cannot reflect over it without the fully qualified name.
The root
component from this service simply returns
System.Web.UI.Page.
Any ideas on how I would go about doing this?
- Glav
Need SQL Advice? http://sqladvice.com
Need RegEx Advice? http://regexadvice.com
Need XML Advice? http://xmladvice.com
|