General Question about custom controls

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

  1. #1

    Default General Question about custom controls

    In a windows application you use the Method() as an entry point for an
    application. In a web application using ASP.NET you use Page_Load() as an
    entry point. My question is: In a Custom server control what method do you
    use as an entry point?
    I am Sam Guest

  2. Similar Questions and Discussions

    1. Two question about ASP.NET Custom Controls [Newbie]
      1) I am developing custom controls and was wondering how I can implement the URL ~ deal. ~/page/page.aspx How do I translate ~ to the web...
    2. newbie question on Custom Controls in C#
      I have just started working on an ASP.Net 1.0 project as my first forray into ASP.Net (or ASP for that matter), and have a general question about...
    3. Why the properties of web user controls which inherted from my custom base UI controls MISSED?
      Why the properties of web user controls which inherted from my custom base UI controls MISSED? How should I to set enable?
    4. Question about Custom Controls
      Dear all I'm building a web application that some standard controls in many pages as "DropDownlist" this drop down list is filled from a table in a...
    5. Accessing Properties of Custom Controls child Controls
      I am using a Custom Control on a page which renders a button control if required. I need to access the child button control's properties (i.e....
  3. #2

    Default Re: General Question about custom controls

    I believe the Init event is what you'd be looking for. The same goes for
    Pages, actually.

    Here are the details about the control & page lifecycle:
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconcontrolexecutionlifecycle.asp[/url]
    [url]http://www.15seconds.com/issue/020102.htm[/url]
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbconWebFormsPageProcessingStages.asp[/url]

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


    "I am Sam" <IamSam@discussions.microsoft.com> wrote in message
    news:98589502-9CB8-4B58-9A6B-2EFF8C6B2E1D@microsoft.com...
    > In a windows application you use the Method() as an entry point for an
    > application. In a web application using ASP.NET you use Page_Load() as an
    > entry point. My question is: In a Custom server control what method do
    > you
    > use as an entry point?

    Steve C. Orr [MVP, MCSD] 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