question for professsional asp developer

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

  1. #1

    Default question for professsional asp developer

    hi,

    i am a professional asp developer, and when i used to code in normal ASP
    code i didn't use the design view in interdev. instead i just used code to
    draw any tables/forms, etc that i needed.

    my question is that is this still the best way to develop for professional
    coders (instead of dragging control onto a web form in design view)?

    the reason i am asking is because i'm new to asp.net and don't understand
    how to draw tables/hyperlinks etc dynamically.

    until now, if i require a control on a page (eg: a table), i draw it onto a
    page using design view, and then alter the properties accordingly. and to
    be honest i dont like this way at all.

    can anyone offer any tips for a professional developer - is the design view
    meant to be for beginners?


    suzy Guest

  2. Similar Questions and Discussions

    1. Developer Toolbox Question: contact form with Captcha
      Hi, Are there any on line tutorials which instruct on how to create an email contact us form with captcha? EIther video or text? If so where...
    2. MX7 developer installation question
      Ok, this question will make me look like a TOTAL idiot... but I have to ask. I just installed The Developer version of MX 7. I have 4.5.2 on my...
    3. cf developer
      Hi, I am a CF developer for 7 years, I am located in the south of France, Is there a possibility to work from home (distant work) ? I have a...
    4. CF 6.1 Developer Question
      Will the developer version of 6.1 fully function and serve up user to a web site?
    5. Question about FMP Server and Developer
      We need 7-8 different locations to be able to log in to FMP Server and make weekly changes to a very small dataset. Can we build a super simple...
  3. #2

    Default Re: question for professsional asp developer

    Is the design view meant for beginners? Heavens no! It's a productivity
    tool, just like any other productivity tool. If you make the best use of it
    possible, you can develop your ASP.Net applications in much less time than
    hand-coding alone. However, it does have its strengths and weaknesses, and
    personally, I try to augment it with other tools. For example, I use
    Microsoft FrontPage to lay out my basic HTML, including any form fields
    which will become HtmlControls. I leave placeholder HTML (such as empty
    table cells, for example) for WebControls and custom Server Controls. Then,
    when I've got the basic HTML looking good, I copy and paste it into the
    Visual Studio designer, because the designer is not good at doing HTML. In
    the Design view, I can then right-click the HTML form fields to make them
    HtmlControls, drag and drop the necessary WebControls and Custom Server
    Controls into their respective places, maybe do a little hand-tweaking of
    the HTML Template, and then go straight to the CodeBehind to plug in all the
    server-side functionality required.

    It's all just a matter of identifying the best productivity tools in the
    best possible combination, by identifying the strengths and weaknesses of
    available tools. I'm sure there are other great combinations of tools being
    used out there as well.

    --
    HTH,

    Kevin Spencer
    ..Net Developer
    Microsoft MVP
    [url]http://www.takempis.com[/url]
    Big things are made up
    of lots of little things

    "suzy" <me@nospam.com> wrote in message
    news:uKR2FEtRDHA.2196@TK2MSFTNGP11.phx.gbl...
    > hi,
    >
    > i am a professional asp developer, and when i used to code in normal ASP
    > code i didn't use the design view in interdev. instead i just used code to
    > draw any tables/forms, etc that i needed.
    >
    > my question is that is this still the best way to develop for professional
    > coders (instead of dragging control onto a web form in design view)?
    >
    > the reason i am asking is because i'm new to asp.net and don't understand
    > how to draw tables/hyperlinks etc dynamically.
    >
    > until now, if i require a control on a page (eg: a table), i draw it onto
    a
    > page using design view, and then alter the properties accordingly. and to
    > be honest i dont like this way at all.
    >
    > can anyone offer any tips for a professional developer - is the design
    view
    > meant to be for beginners?
    >
    >

    Kevin Spencer Guest

  4. #3

    Default Re: question for professsional asp developer

    I agree with Kevin for the most part, although I have generally found
    the designer to be of little use for most complex projects. Once you
    expand on the built in framework of ASP.NET (ie: by creating a new
    page class, or trying to use some sort of page templates) the designer
    tends to get a little flaky...

    That said though, if you are able to use it to get the basic structure
    of your pages together then it can save hours...

    Dynamic controls in asp.net take some getting used to, and in
    generally do not get along very with ASP.NET postback/viewstate/event
    framework. You can do almost exactly what you would have done in ASP
    using by overriding the Render method of the Page object and using
    writer.Write("") statements, but you will lose all the benefits of
    ASP.NET mentioned above.

    Creating dynamic controls that can participate in postback etc have to
    be created in the OnCreateChildControls method or OnInit method. the
    problem is that they also have to be the same on every postback, so in
    the end they are not really all that dynamic.

    If possible you can create a bunch of controls and change the Visible
    property to draw the relevent ones, but this does nto work for all
    situations.





    "Kevin Spencer" <kevinDIESPAMMERSDIE@takempis.com> wrote in message news:<eHNCmYvRDHA.2332@TK2MSFTNGP10.phx.gbl>...
    > Is the design view meant for beginners? Heavens no! It's a productivity
    > tool, just like any other productivity tool. If you make the best use of it
    > possible, you can develop your ASP.Net applications in much less time than
    > hand-coding alone. However, it does have its strengths and weaknesses, and
    > personally, I try to augment it with other tools. For example, I use
    > Microsoft FrontPage to lay out my basic HTML, including any form fields
    > which will become HtmlControls. I leave placeholder HTML (such as empty
    > table cells, for example) for WebControls and custom Server Controls. Then,
    > when I've got the basic HTML looking good, I copy and paste it into the
    > Visual Studio designer, because the designer is not good at doing HTML. In
    > the Design view, I can then right-click the HTML form fields to make them
    > HtmlControls, drag and drop the necessary WebControls and Custom Server
    > Controls into their respective places, maybe do a little hand-tweaking of
    > the HTML Template, and then go straight to the CodeBehind to plug in all the
    > server-side functionality required.
    >
    > It's all just a matter of identifying the best productivity tools in the
    > best possible combination, by identifying the strengths and weaknesses of
    > available tools. I'm sure there are other great combinations of tools being
    > used out there as well.
    >
    > --
    > HTH,
    >
    > Kevin Spencer
    > .Net Developer
    > Microsoft MVP
    > [url]http://www.takempis.com[/url]
    > Big things are made up
    > of lots of little things
    >
    > "suzy" <me@nospam.com> wrote in message
    > news:uKR2FEtRDHA.2196@TK2MSFTNGP11.phx.gbl...
    > > hi,
    > >
    > > i am a professional asp developer, and when i used to code in normal ASP
    > > code i didn't use the design view in interdev. instead i just used code to
    > > draw any tables/forms, etc that i needed.
    > >
    > > my question is that is this still the best way to develop for professional
    > > coders (instead of dragging control onto a web form in design view)?
    > >
    > > the reason i am asking is because i'm new to asp.net and don't understand
    > > how to draw tables/hyperlinks etc dynamically.
    > >
    > > until now, if i require a control on a page (eg: a table), i draw it onto
    > a
    > > page using design view, and then alter the properties accordingly. and to
    > > be honest i dont like this way at all.
    > >
    > > can anyone offer any tips for a professional developer - is the design
    > view
    > > meant to be for beginners?
    > >
    > >
    John G 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