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

  1. #1

    Default Forms or Controls

    We have 15 forms each with 20 fields.
    which approach will be provide more flexibility in programming specially
    with event handling .
    Making them as HTML forms or making as User Control.
    Are there any pros and cons.
    Thanks!!!!





    sunil Guest

  2. Similar Questions and Discussions

    1. Adding Controls to a Web Forms Page Programmatically
      Hi I'm having some trouble adding a user control to my webform programmatically. I've done this before, but not for some time. The control was...
    2. Getting variables from other controls & forms
      How do I get a value of a textbox control from a form? On form1, I have a textbox with the value "CountyID" with a submit button; when the user...
    3. Multiple Windows Forms Controls in IE
      Hello, Why not create a property in control2 and let control1 operate it through this property? For an example, you have two instances, one for...
    4. Tab Controls on Forms
      Does anyone know if it is possible to create a new tab control on a page of an existing tab control? I've tried several methods, but each places...
    5. Passing server controls between forms
      Hello all, I have two forms form1.aspx and form2.aspx. I need to reterive all the form elements from form1 into form2. In Form1.aspx n number of...
  3. #2

    Default Re: Forms or Controls

    asp.net really only allows one form per page, so your best bet would be user
    controls, that way you could handle all the event seperately and the data
    would be packaged neatly for you in the code behind file for the user
    control.

    HTH,

    bill

    "sunil" <sunil_godiyal@yahoo.com> wrote in message
    news:#kIr0fyODHA.704@tk2msftngp13.phx.gbl...
    > We have 15 forms each with 20 fields.
    > which approach will be provide more flexibility in programming specially
    > with event handling .
    > Making them as HTML forms or making as User Control.
    > Are there any pros and cons.
    > Thanks!!!!
    >
    >
    >
    >
    >

    William F. Robertson, Jr. 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