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

  1. #1

    Default property of control

    Assume I designed web control which I use on different asp forms. Now I want
    to make next step. Some controls (like textbox or drop down) have properties
    which I see on the property tab of visual studio. When I change them they
    appear as part of web page, so I can change their properties at design time.
    How I can do it for user defined web controls.

    Thank you, Aleks

    Aleks Kleyn Guest

  2. Similar Questions and Discussions

    1. Web user control creation - Resolve an ImageUrl property if control themed
      Hi I'm creating a WebControl which has a themeable ImageUrl property : <Bindable(True), Category("Appearance"),...
    2. Custom control with complex property type (System.Web.UI.Control[])
      I've built a control with a property of type System.Web.UI.Control. I have a custom editor which allows me to add items to this collection at...
    3. Modifying a property of a control contained in a user control
      I have a user control that is made up of several HyperLink controls. In the Page_Load event of pages that use the control I want to change a...
    4. Collection Property problems with Image control ImageUrl property and URLBuilder
      Been using reflector and examining what Microsoft does with the Rows property in the Table class. It looks like all of the items added to the rows...
    5. More Collection Property problems with Image control ImageUrl property and URLBuilder
      After a few more hours of debugging I discovered that the URLBuilder solution that I mentioned previously does not work because there is no service...
  3. #2

    Default Re: property of control

    [url]http://www.dnrtv.com/default.aspx?showID=1[/url]


    "Aleks Kleyn" <AleksKleyn@OptOnline.net> wrote in message
    news:79758DBA-9793-4E7E-9B8C-D0360F86FCC4@microsoft.com...
    > Assume I designed web control which I use on different asp forms. Now I
    > want to make next step. Some controls (like textbox or drop down) have
    > properties which I see on the property tab of visual studio. When I change
    > them they appear as part of web page, so I can change their properties at
    > design time. How I can do it for user defined web controls.
    >
    > Thank you, Aleks

    gerry Guest

  4. #3

    Default Re: property of control

    You could create a Control Designer for your control.

    Here's more info:
    [url]http://SteveOrr.net/articles/DropDownCalendar.aspx[/url]
    [url]http://SteveOrr.net/articles/BarGraphs.aspx[/url]

    --
    I hope this helps,
    Steve C. Orr,
    MCSD, MVP, CSM, ASPInsider
    [url]http://SteveOrr.net[/url]


    "Aleks Kleyn" <AleksKleyn@OptOnline.net> wrote in message
    news:79758DBA-9793-4E7E-9B8C-D0360F86FCC4@microsoft.com...
    > Assume I designed web control which I use on different asp forms. Now I
    > want to make next step. Some controls (like textbox or drop down) have
    > properties which I see on the property tab of visual studio. When I change
    > them they appear as part of web page, so I can change their properties at
    > design time. How I can do it for user defined web controls.
    >
    > Thank you, Aleks
    Steve C. Orr [MCSD, MVP, CSM, ASP Insider] 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