Results 1 to 2 of 2

Thread: Design time support for Content and ContentPlaceHolder

  1. #1
    Join Date
    Nov 2005
    Location
    Costa Rica
    Posts
    10

    Default Design time support for Content and ContentPlaceHolder

    Hi, I added some design time support for Content and ContentPlaceHolder.

    In Spring.Web\Web\UI\Controls\Content.cs:

    Code:
        /// ...
        [Designer("System.Web.UI.Design.ReadWriteControlDesigner, System.Design")]
        [PersistChildren(true)]
        [ParseChildren(false)]
        public class Content : Control
        {
            ...
        }
    The same for ContentPlaceHolder.cs.

    I know it could be much more enhanced by inheriting ReadWriteControlDesigner similar to what the Panel designer does but at this time it's working fine for me.

    Any comments?

    Esteban

  2. #2
    Join Date
    Sep 2004
    Location
    Belgrade, Serbia
    Posts
    613

    Default

    Cool, design time support is one of the things that has been on our to-do list for a while, but there was always something else that had a higher priority...

    This will at least buy us some time, until we write real designers for all of the Spring controls.

    Thanks,

    Aleks

Similar Threads

  1. Replies: 1
    Last Post: 05-16-2005, 07:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •