Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default PostBack Concept

    I want to know if the PostBack concept applies to HTML web-based forms,
    regardless of what programming technologies we use: For example, ASP,
    ASP.NET, Java, CGI, etc...

    PostBack means to send the HTML form to the web server? Since most of the
    time I heard this term in ASP.NET circle, thats why I raise this question.

    Please advise. Thanks!


    Matthew Louden Guest

  2. Similar Questions and Discussions

    1. Plug In Concept - Pratical?
      Before investing in the SDK subscription (time and money), please let me know if the SDK is the solution and if this solution is practical: Our...
    2. Design Concept
      Hello, Im in the making of designing a webpage for myself and I was wanting to know other peoples opinion on it. you will notice it is abit...
    3. concept problem webcustomcontrols
      Hi to the forum.. i have a project with this webcontrol Webcontrol _______________________ | |initialize component | button +=new...
    4. concept check
      Hey, I am looking for some oppinions of my concept to replace a template I am currently using. the concept... Just a mock nothing works...
    5. Foreign Key concept
      Mark A wrote: Yes, this is possible. Did you try "insert into table_b values (null, 'something else')" ?? This is not necessary, the...
  3. #2

    Default Re: PostBack Concept

    In ASP.Net the whole idea is to treat a form like you would a windows form.
    That is, the same page handles all of the events. Thus, in ASP.Net the
    forms are set to POST to themselves and a built in property is available
    called PostBack.

    Before .Net I never even considered using a postback. All of my forms would
    consist of Form1 where the user enters the information, then Page2 where the
    information was processed and the user was given a response.

    Since .Net I've realized the advantages of that approach and most of my
    forms postback to the same page.

    So is it a .Net only thing. Not at all. As long as the form's Action
    property is set to the same page, it's what I'd call a postback. Most of my
    forms look like this......

    <%
    if request.form("postback")="true" then
    'note that true is in quotes because it's a string not a boolean
    Call processTheForm
    end if
    %>

    <form method=post action="thisSamePage.asp">
    <input type=hidden name=postback value="true">
    etc...
    </form>

    "Matthew Louden" <mattloude@hotmail.com> wrote in message
    news:%23H1k5OBwDHA.2444@TK2MSFTNGP12.phx.gbl...
    > I want to know if the PostBack concept applies to HTML web-based forms,
    > regardless of what programming technologies we use: For example, ASP,
    > ASP.NET, Java, CGI, etc...
    >
    > PostBack means to send the HTML form to the web server? Since most of the
    > time I heard this term in ASP.NET circle, thats why I raise this question.
    >
    > Please advise. Thanks!
    >
    >

    TomB Guest

  4. #3

    Default Re: PostBack Concept

    Yes, I too have been doing this for years as if the user supplies an invalid
    value you don't need to redirect as you can remember all the fields values.

    <input type="text" name="Email"
    value="<%=Server.HTMLEncode(Request.Form("Email")) %>">


    "TomB" <shuckle@hotmailXXX.com> wrote in message
    news:uSrTUbBwDHA.2368@TK2MSFTNGP09.phx.gbl...
    > In ASP.Net the whole idea is to treat a form like you would a windows
    form.
    > That is, the same page handles all of the events. Thus, in ASP.Net the
    > forms are set to POST to themselves and a built in property is available
    > called PostBack.
    >
    > Before .Net I never even considered using a postback. All of my forms
    would
    > consist of Form1 where the user enters the information, then Page2 where
    the
    > information was processed and the user was given a response.
    >
    > Since .Net I've realized the advantages of that approach and most of my
    > forms postback to the same page.
    >
    > So is it a .Net only thing. Not at all. As long as the form's Action
    > property is set to the same page, it's what I'd call a postback. Most of
    my
    > forms look like this......
    >
    > <%
    > if request.form("postback")="true" then
    > 'note that true is in quotes because it's a string not a
    boolean
    > Call processTheForm
    > end if
    > %>
    >
    > <form method=post action="thisSamePage.asp">
    > <input type=hidden name=postback value="true">
    > etc...
    > </form>
    >
    > "Matthew Louden" <mattloude@hotmail.com> wrote in message
    > news:%23H1k5OBwDHA.2444@TK2MSFTNGP12.phx.gbl...
    > > I want to know if the PostBack concept applies to HTML web-based forms,
    > > regardless of what programming technologies we use: For example, ASP,
    > > ASP.NET, Java, CGI, etc...
    > >
    > > PostBack means to send the HTML form to the web server? Since most of
    the
    > > time I heard this term in ASP.NET circle, thats why I raise this
    question.
    > >
    > > Please advise. Thanks!
    > >
    > >
    >
    >

    David Morgan 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