The Application Development Experiences of an Enterprise Developer

Tag: controls

Creating Custom Controls for ASP.NET 2.0

Posted by bsstahl on 2006-05-08 and Filed Under: event development 

A number of new facts came out of the final talk I attended on the day, Mickey Williams' discussion of ASP.NET 2.0 custom controls. These key facts for me were:

  • Embedded resources can be used in 2.0 controls (i.e. graphics)
  • ControlState can be used for critical data rather than ViewState. ControlState can't be turned off (be sure to use this for good and not for evil)
  • SmartTags can be easily created to expose the most common elements of a control to the page developer for easy modification and configuration
  • Controls can now inherit from CompositeControl or CompositeDataBoundControl
  • Mickey highly reccomends Reflector as a class browser, explorer, analyzer and documentation viewer for .NET

I'm sure the slide-decks and samples will be posted soon.

Tags: controls asp.net 

About the Author

Barry S. Stahl Barry S. Stahl (him/his) - Barry is a .NET Software Engineer who has been creating business solutions for enterprise customers for more than 30 years. Barry is also an Election Integrity Activist, baseball and hockey fan, husband of one genius and father of another, and a 30+ year resident of Phoenix Arizona USA. When Barry is not traveling around the world to speak at Conferences, Code Camps and User Groups or to participate in GiveCamp events, he spends his days as a Solution Architect for Carvana in Tempe AZ and his nights thinking about the next AZGiveCamp event where software creators come together to build websites and apps for some great non-profit organizations.

Social Media