Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Building Controls / April 2006

Tip: Looking for answers? Try searching our database.

PropertyExtender can affect render??

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Arthur Dent - 01 Apr 2006 04:35 GMT
I was thinking for learning to write a propertyextender class which would
add some extra attributes to a controls on a form before rendering.
Can i actually do this though? Would a property extender be able to somehow
hook into the rendering life of the form and to add or alter the properties
of a control before it renders?

Thanks in advance,
- Arthur Dent.
Teemu Keiski - 01 Apr 2006 11:23 GMT
Hi,

if you are working with ASP.NET 2.0, it already has adaptive control
behavior where control or page can (or better saying will) have associated
Adapter object (ControlAdapter base type), which is capable to access the
control in various stages of control lifecycle as well as modify the
rendering of the control

Architectural Overview of Adaptive Control Behavior
http://msdn2.microsoft.com/en-US/library/67276kc5(VS.80).aspx

ControlAdapter Class
http://msdn2.microsoft.com/en-us/library/system.web.ui.adapters.controladapter(V
S.80).aspx


Signature

Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke

>I was thinking for learning to write a propertyextender class which would
>add some extra attributes to a controls on a form before rendering.
[quoted text clipped - 4 lines]
> Thanks in advance,
> - Arthur Dent.
Arthur Dent - 03 Apr 2006 04:04 GMT
Hmm, sounds interesting.... ill have to look into that.

Thanks!

> Hi,
>
[quoted text clipped - 18 lines]
>> Thanks in advance,
>> - Arthur Dent.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.