Ask a Question related to ASP Database, Design and Development.
-
Matthew Louden #1
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
-
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... -
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... -
concept problem webcustomcontrols
Hi to the forum.. i have a project with this webcontrol Webcontrol _______________________ | |initialize component | button +=new... -
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... -
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... -
TomB #2
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
-
David Morgan #3
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...form.> In ASP.Net the whole idea is to treat a form like you would a windowswould> 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 formsthe> consist of Form1 where the user enters the information, then Page2 wheremy> 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 ofboolean> forms look like this......
>
> <%
> if request.form("postback")="true" then
> 'note that true is in quotes because it's a string not athe> 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 ofquestion.> > time I heard this term in ASP.NET circle, thats why I raise this>> >
> > Please advise. Thanks!
> >
> >
>
David Morgan Guest



Reply With Quote

