Building child controls on Design Time

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

  1. #1

    Default Building child controls on Design Time

    Hi ,
    I am trying to create a custom control similar to datagrid.Grid contain
    some thing like data column where i am able to add column during design time
    using VS.NET 2003 collection editor , but on clicking the save button the
    corresponding innercontrol is not return on the aspx page. But I can
    instantiate the corresponding control details in the code behind page.

    It will be appreciable if any body can give a solution for this.


    Thanks and Regards,
    Pradeep


    Pradeep Kumar C Guest

  2. Similar Questions and Discussions

    1. Skin not applied at design time for CompositeComponent child contr
      I am using Visual Studio 2008 and I have a very simple custom web server control class named TestControl. The class inherits from CompositeControl,...
    2. Control.Controls bug? Control's child controls missing at the run time.
      Hello, ..NET 1.1/VB.NET: I have a custom web control Public Class DatePicker Inherits Control Implements INamingContainer
    3. Add controls DESIGN Time.
      Hi All. I would like to know, HOW can I add control (textboxes) etc to my web form in design time? I have tried everything... someone @ MS should...
    4. Get Child Controls at design-time
      I have a Webcontrol that was supposed to act like a panel control. I manipulated a TemplatedControlDesigner to make an "Edit mode". I save my...
    5. Composite WebControl -- Child Control Property Persistance at Design-time
      Hi, I seen, this asked a number of times at this group but still have not seen any complete/rectified/fixed code. I have created a Composite...
  3. #2

    Default RE: Building child controls on Design Time

    Hi Pradeep,

    Not sure what's your detailed code for the certain control. But I think you
    can have a look at the TreeView control(IE WebControls)'s source code for
    reference since the IE WebControl's code are all open source. The TreeView
    has a "Nodes" member collection wihch may be similiar to your question.
    You can download the IE WebControl's source at [url]http://www.asp.net[/url]

    also, here are some other tech articles on asp.net web control dev and
    designtime support:

    #HOW TO: Create a Web Control with an Expandable Property in the Designer
    by Using Visual C# .NET
    [url]http://support.microsoft.com/?id=324301[/url]

    #Templated Data-Bound Control Sample
    [url]http://msdn.microsoft.com/library/en-us/cpguide/html/cpcontemplateddatabound[/url]
    controlsample.asp?frame=true

    #PersistenceMode Enumeration
    [url]http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemwebuipersisten[/url]
    cemodeclasstopic.asp?frame=true

    Thanks.

    Regards,

    Steven Cheng
    Microsoft Online Support

    Get Secure! [url]www.microsoft.com/security[/url]
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    Get Preview at ASP.NET whidbey
    [url]http://msdn.microsoft.com/asp.net/whidbey/default.aspx[/url]

    Steven Cheng[MSFT] 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