Making table cells available at design time

Ask a Question related to ASP.NET Building Controls, Design and Development.

  1. #1

    Default Making table cells available at design time

    I have several custom UI controls that are table-based, and I would like to
    make some of the table cells available for users to edit at Design time, much
    in the same way the panel control works, for example. (I want users to be
    able to insert new controls, html code, etc.)

    If someone can please show me a clear code sample of how to implement this
    (whether in the designer or in the control class), I would appreciate it,
    since I haven't found anything myself, including looking at certain dotnet
    controls in Reflector.

    I will likely have more than one of these 'panels' or cells in some
    controls, so if it's possible to give an example with two dynamic cells it
    would be appreciated.

    Christophe.
    Christophe Peillet Guest

  2. Similar Questions and Discussions

    1. Editable contents in table at design time (VVS 2005)
      Hi Everyone, I'm trying to bulid a "css templated table control" to make possible for the user, edit the text content of the cell at design time in...
    2. Custom control renders table but doesn't resize at design time.
      Hi all, I have a control, that basically is my own version of the datagrid, except that is renderers purely readonly tabular information. When...
    3. tabbing between table cells
      Is there a shortcut for "insert end of column" to tab between table cells. Its so clunky. At this rate I think I'll do the tables in a wordprocessor...
    4. background in table cells
      ameen: Yes. Click in the cell and use the Property Inspector to specify a background image. Be aware that in order to see the background fully,...
    5. Using Table control in a custom composite control. Control does not render properly in design time.
      All, I have written a very simple custom composite control that includes a control of type System.Web.UI.WebControls.Table. The control...
  3. #2

    Default RE: Making table cells available at design time

    Hi Christophe,

    Thanks for posting!

    For the current issue, based on my experience, this functionality is based
    on design time support in ASP.NET custom control. Unfortunately, I don't
    find any specific sample codes for the current requirement. However, there
    is a good resource from MSDN document explains the whole architecture of
    the design time support. The document also demonstrates how to use the
    design time support:
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm[/url]
    l/cpcondesign-timeforwebforms.asp

    If you are interest in the theory of design time support, please look the
    following article:
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm[/url]
    l/cpconenhancingdesign-timesupport.asp

    Although there is no specific sample for the current issue, there still
    have many resources from third party to demonstrate how to do:
    [url]http://www.codeproject.com/useritems/design-time-integration.asp[/url]

    [url]http://www.15seconds.com/issue/040422.htm[/url]

    Hope this will be helpful!

    Regards,

    Yuan Ren [MSFT]
    Microsoft Online Support

    Yuan Ren[MSFT] Guest

  4. #3

    Default RE: Making table cells available at design time

    I found the solution to my problem here, along with a good code sample:

    [url]http://msdn2.microsoft.com/en-us/library/system.web.ui.design.editabledesignerregion.aspx[/url]
    Christophe Peillet Guest

  5. #4

    Default RE: Making table cells available at design time

    Hi Christophe,

    I'm glad to hear the issue has been resolved:)

    Regards,

    Yuan Ren [MSFT]
    Microsoft Online Support

    Yuan Ren[MSFT] Guest

  6. #5

    Default RE: Making table cells available at design time

    Hi Christophe,

    could you post some example. I've got problems to render this region at the
    run-time. In this example, contents of views are not rendering in browser.
    Could you help? Thanks!

    "Christophe Peillet" wrote:
    > I found the solution to my problem here, along with a good code sample:
    >
    > [url]http://msdn2.microsoft.com/en-us/library/system.web.ui.design.editabledesignerregion.aspx[/url]
    Sebastian Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139