|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Eliminate postback effect?Here is a form I'm building that will let people register and eventually pay
for a certain conference. http://www.itsva.org/calendar/conferences/2006/regform.aspx I'm using the AutoPostBack attribute of the DDLs to call subs and to calculate the Grand Total. I don't suppose I can have the DDLs update labels (all "totals" are asp:label's) like I'm doing know when they're changed WITHOUT posting back to the page each and every time..and WITHOUT writing javascript huh? I'm certainly no js expert and have left it behind me since using .NET. This is the first time where I think I might need it in 2 yrs thanks to asp.net and it's form validations. Is there any way to accomplish what I'm doing with this form w/o resorting to js AND not having the page post to itself each and every time? Using ASP.NET 1.1 (VB) Thanks again! "D. Shane Fowlkes" <shanefowl***@hotmail.com> wrote in Well Javascript is integral to this type of stuff. You should really learn news:utI$$plAGHA.2620@tk2msftngp13.phx.gbl: > I'm using the AutoPostBack attribute of the DDLs to call subs and to > calculate the Grand Total. I don't suppose I can have the DDLs update > labels (all "totals" are asp:label's) like I'm doing know when they're > changed WITHOUT posting back to the page each and every time..and > WITHOUT writing javascript huh? I'm certainly no js expert and have > left it behind me since using .NET. This is the first time where I > think I might need it in 2 yrs thanks to asp.net and it's form > validations. JS if you want to become a decent ASP.NET developer. Check Dart's live control but you'll still need to know javascript. -- Stan Kee (spamhoneypot@rogers.com) the upcoming trend is to use AJAX in web pages, and this will require more
javascript knowledge, -- bruce (sqlwork.com) Show quote "Spam Catcher" <spamhoneypot@rogers.com> wrote in message news:Xns972E7AF447A9Fusenethoneypotrogers@127.0.0.1... > "D. Shane Fowlkes" <shanefowl***@hotmail.com> wrote in > news:utI$$plAGHA.2620@tk2msftngp13.phx.gbl: > >> I'm using the AutoPostBack attribute of the DDLs to call subs and to >> calculate the Grand Total. I don't suppose I can have the DDLs update >> labels (all "totals" are asp:label's) like I'm doing know when they're >> changed WITHOUT posting back to the page each and every time..and >> WITHOUT writing javascript huh? I'm certainly no js expert and have >> left it behind me since using .NET. This is the first time where I >> think I might need it in 2 yrs thanks to asp.net and it's form >> validations. > > > Well Javascript is integral to this type of stuff. You should really learn > JS if you want to become a decent ASP.NET developer. > > Check Dart's live control but you'll still need to know javascript. > > -- > Stan Kee (spamhoneypot@rogers.com) Thanks all. I'll try to educate myself better with JS. But this doesn't
help me at the moment. So basically with my current approach, I need to have the page post back to calculate those totals? Show quote "Bruce Barker" <brubar_nospamplease_@safeco.com> wrote in message news:efnfJsmAGHA.2812@TK2MSFTNGP09.phx.gbl... > the upcoming trend is to use AJAX in web pages, and this will require more > javascript knowledge, > > -- bruce (sqlwork.com) > > > "Spam Catcher" <spamhoneypot@rogers.com> wrote in message > news:Xns972E7AF447A9Fusenethoneypotrogers@127.0.0.1... >> "D. Shane Fowlkes" <shanefowl***@hotmail.com> wrote in >> news:utI$$plAGHA.2620@tk2msftngp13.phx.gbl: >> >>> I'm using the AutoPostBack attribute of the DDLs to call subs and to >>> calculate the Grand Total. I don't suppose I can have the DDLs update >>> labels (all "totals" are asp:label's) like I'm doing know when they're >>> changed WITHOUT posting back to the page each and every time..and >>> WITHOUT writing javascript huh? I'm certainly no js expert and have >>> left it behind me since using .NET. This is the first time where I >>> think I might need it in 2 yrs thanks to asp.net and it's form >>> validations. >> >> >> Well Javascript is integral to this type of stuff. You should really >> learn >> JS if you want to become a decent ASP.NET developer. >> >> Check Dart's live control but you'll still need to know javascript. >> >> -- >> Stan Kee (spamhoneypot@rogers.com) > > "D. Shane Fowlkes" <shanefowl***@h-o-t-m-a-i-l.com> wrote in Time to learn Javascript on the job? : )news:OASw#xmAGHA.1288@TK2MSFTNGP09.phx.gbl: > Thanks all. I'll try to educate myself better with JS. But this > doesn't help me at the moment. > So basically with my current approach, I need to have the page post Yes since you lack javascript skills - postbacks is the only way.> back to calculate those totals? -- Stan Kee (spamhoneypot@rogers.com) |
|||||||||||||||||||||||