Property Extender?
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngcontrolscs' list.


Andy Smith
does anybody know how to create a Extender Provider for webforms =
controls?
all I can find in the docs is a little note in a winforms Extender =
Provider page that says:
"Note The implementation of an extender provider for Windows Forms =
controls is different from that for ASP.NET server controls."
but it offers no links to this different asp.net implementation.

__
Andy Smith
Keyboard Jockey #3a7-2.78.1

Reply to this message...
 
    
John John
Hi,
I wrote a property extender for asp.net and it is working great.
Look at the winforms samples. There you'll find information on how to do a
custom property extender. It is the same for an asp.net version. Also in the
help you will find more informations..
John.

[Original message clipped]

Reply to this message...
 
    
John John
look in the mailing list archive here and search for
Designer for collection property on IExtenderProvider for my sample...
John.

[Original message clipped]

Reply to this message...
 
    
Andy Smith
yes, it wasn't working for me because I was misunderstanding the =
ProvidesProperty attribute's second constructor param. I thought it was =
supposed to be the type of property extended, but it's really the type =
of the thing being extended. Didn't find out till I did some =
examination, using Reflector, of the actual types that implement =
IExtenderProvider.=20
if you take a look at:
ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfsystemcomponentmodelprovidepr=
opertyattributeclassctortopic2.htm

and=20
ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfsystemcomponentmodelprovidepr=
opertyattributeclasstopic.htm

it seems to me that the documentation on this attribute is incorrect or =
at least very vague.
the documentation and examples found on those pages seem to me to say =
that the second param should be the type of the property, not the type =
of target being extended.

__
Andy Smith
Keyboard Jockey #3a7-2.78.1

[Original message clipped]

Reply to this message...
 
 
System.ComponentModel.IExtenderProvider




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com