Ask a Question related to ASP.NET General, Design and Development.
-
John Saunders #1
Re: Alternative to AutoPostback for saving data
"p" <abefuzzleduser2@yahoo.com> wrote in message
news:ecvd9KPXDHA.2344@TK2MSFTNGP09.phx.gbl...they> We have an ASP.net app that is copies an existing database program
> functionality, that does not require users to click a Save button afterdata> make changes. To get this user functionality the same in ASP.net, I have
> used autopostbacks for all controls (other than datagrids) to save userSince the database is on the server, not on the client system, the data will> to database when they type in a text field and leave, or click a
> dropdownlist or checkbox. The users normally first search for an item and
> update a few fields then stop using it for a few minutes.
>
> Is there any other way to do this than autopostbacks for each control?
need to travel from the client to the server whenever they leave a field.
This could be done with a web service.
You might be better off explaining to the users the difference between web
applications and "fat client" applications. They should not expect that
level of interactivity.
--
John Saunders
Internet Engineer
[email]john.saunders@surfcontrol.com[/email]
John Saunders Guest
-
Need alternative to list component for XML data
I need help; please point me in the right direction. I need to display a large XML file in a very specific visual format. The smallest object has... -
saving data from a w3d game
hey fellow lingo-ists, I would like to save the data from a first-person shooter game, i.e. player location, speed, etc. while I play the game. ... -
saving data from .FSO
Hi all, I am also looking for similar thing, a simple FSO file reader, something like the SharedObject Reader (SOL) written by Alessandro at... -
saving data in XML
hi, i?m using a model to load a xml file and I?m using a data grid do show this model data. I created a for to insert new rows in the data... -
Saving data between sessions
Is it possible to save session values between pages? I did a little script to let the users login. I use this script to check username and password... -
p #2
Re: Alternative to AutoPostback for saving data
I agree that they can't expect the same functionality.
Do you mean setup the web service to provide data instead running database
server side?
Thanks
P
"John Saunders" <john.saunders@surfcontrol.com> wrote in message
news:%23037WRPXDHA.2484@TK2MSFTNGP09.phx.gbl...have> "p" <abefuzzleduser2@yahoo.com> wrote in message
> news:ecvd9KPXDHA.2344@TK2MSFTNGP09.phx.gbl...> they> > We have an ASP.net app that is copies an existing database program
> > functionality, that does not require users to click a Save button after> > make changes. To get this user functionality the same in ASP.net, Iand> data> > used autopostbacks for all controls (other than datagrids) to save user> > to database when they type in a text field and leave, or click a
> > dropdownlist or checkbox. The users normally first search for an itemwill>> > update a few fields then stop using it for a few minutes.
> >
> > Is there any other way to do this than autopostbacks for each control?
> Since the database is on the server, not on the client system, the data> need to travel from the client to the server whenever they leave a field.
> This could be done with a web service.
>
> You might be better off explaining to the users the difference between web
> applications and "fat client" applications. They should not expect that
> level of interactivity.
> --
> John Saunders
> Internet Engineer
> [email]john.saunders@surfcontrol.com[/email]
>
>
p Guest
-
John Saunders #3
Re: Alternative to AutoPostback for saving data
"p" <abefuzzleduser2@yahoo.com> wrote in message
news:%23fjNWdPXDHA.2312@TK2MSFTNGP10.phx.gbl...No, I mean set up a web service to send updates back to the database. This> I agree that they can't expect the same functionality.
>
> Do you mean setup the web service to provide data instead running database
> server side?
may be less efficient than the postbacks, but at least you wouldn't have the
screen flicker.
--
John Saunders
Internet Engineer
[email]john.saunders@surfcontrol.com[/email]
John Saunders Guest
-
p #4
Re: Alternative to AutoPostback for saving data
John,
Do you mean write a browser client side web services consumer? Did not know
that was possible.
I hate the postback waiting also. I just assumed that even using a web
service, you would still have to do interaction in server code anyway in
next postback event? So to get around postback do you mean client code?
Any sample code?
Thanks
P
"John Saunders" <john.saunders@surfcontrol.com> wrote in message
news:%23jddGgPXDHA.1384@TK2MSFTNGP10.phx.gbl...database> "p" <abefuzzleduser2@yahoo.com> wrote in message
> news:%23fjNWdPXDHA.2312@TK2MSFTNGP10.phx.gbl...> > I agree that they can't expect the same functionality.
> >
> > Do you mean setup the web service to provide data instead runningthe>> > server side?
> No, I mean set up a web service to send updates back to the database. This
> may be less efficient than the postbacks, but at least you wouldn't have> screen flicker.
> --
> John Saunders
> Internet Engineer
> [email]john.saunders@surfcontrol.com[/email]
>
>
p Guest
-
John Saunders #5
Re: Alternative to AutoPostback for saving data
It's not so much a part of the architecture of ASP.NET, as it is a feature
of the architecture of the WWW. In fact, you'd have similar issues
regardless of what kind of client-server application you're building.
The client isn't the server, and vice versa.
--
John Saunders
Internet Engineer
[email]john.saunders@surfcontrol.com[/email]
"p" <abefuzzleduser2@yahoo.com> wrote in message
news:%23rrFg7QXDHA.2384@TK2MSFTNGP10.phx.gbl...architecture> John,
>
> I guess there is no real solution since it is a feauture of thein> of asp.net.
>
> I do update everything again after the database update so I should be oK.
> but I still have to test everything with concurrent users.
>
> Thanks
> P
> "John Saunders" <john.saunders@surfcontrol.com> wrote in message
> news:ud1KssQXDHA.2360@TK2MSFTNGP12.phx.gbl...> > "p" <abefuzzleduser2@yahoo.com> wrote in message
> > news:O0XZmSQXDHA.2200@TK2MSFTNGP09.phx.gbl...> > know> > > John,
> > >
> > > Do you mean write a browser client side web services consumer? Did not> > > that was possible.
> > >
> > > I hate the postback waiting also. I just assumed that even using a web
> > > service, you would still have to do interaction in server code anywaycode?> > > next postback event? So to get around postback do you mean client> service> >> > >
> > > Any sample code?
> > Unfortunately, I haven't used this yet, so I don't have a sample handy.
> >
> > If you can limit your users to IE 5.5 or above, you can use the "web> in> > behavior" to access a web service in client script. Otherwise, you'll be
> > stuck with a Java Applet or something.
> >
> > I'm afraid that the real solution is: don't do that!
> >
> > BTW, do you refresh the entire grid whenever the user enters a new value>> > a field? If not, and if there are simultaneous users, there could be
> > concurrency issues.
> > --
> > John Saunders
> > Internet Engineer
> > [email]john.saunders@surfcontrol.com[/email]
> >
> >
> >
>
John Saunders Guest
-
p #6
Re: Alternative to AutoPostback for saving data
I did think of the timer which would be good since their data would get
updated more. But if the users entered something and switched forms it would
not get saved. They have a couple forms they use to enter data.
Thanks
P
"MS News (MS LVP)" <sql_agentman@hotmail.com> wrote in message
news:%23H2g3RQXDHA.2516@TK2MSFTNGP09.phx.gbl...have> Can you put a JavaScript Timer or a MetaTag that will postback every few
> minutes?
> Does a Meta tag Refresh or PostBack???
>
> just a thought.
>
> "p" <abefuzzleduser2@yahoo.com> wrote in message
> news:ecvd9KPXDHA.2344@TK2MSFTNGP09.phx.gbl...> they> > We have an ASP.net app that is copies an existing database program
> > functionality, that does not require users to click a Save button after> > make changes. To get this user functionality the same in ASP.net, Iand> data> > used autopostbacks for all controls (other than datagrids) to save user> > to database when they type in a text field and leave, or click a
> > dropdownlist or checkbox. The users normally first search for an item>> > update a few fields then stop using it for a few minutes.
> >
> > Is there any other way to do this than autopostbacks for each control?
> >
> > Thanks
> > P
> >
> >
>
p Guest
-
MS News \(MS ILM\) #7
Re: Alternative to AutoPostback for saving data
The user can enter data then spill coffee on their keyboard or kick their
computer
How do we prevent that?
"p" <abefuzzleduser2@yahoo.com> wrote in message
news:uuBSgEeXDHA.2620@TK2MSFTNGP09.phx.gbl...would> I did think of the timer which would be good since their data would get
> updated more. But if the users entered something and switched forms itafter> not get saved. They have a couple forms they use to enter data.
>
> Thanks
> P
> "MS News (MS LVP)" <sql_agentman@hotmail.com> wrote in message
> news:%23H2g3RQXDHA.2516@TK2MSFTNGP09.phx.gbl...> > Can you put a JavaScript Timer or a MetaTag that will postback every few
> > minutes?
> > Does a Meta tag Refresh or PostBack???
> >
> > just a thought.
> >
> > "p" <abefuzzleduser2@yahoo.com> wrote in message
> > news:ecvd9KPXDHA.2344@TK2MSFTNGP09.phx.gbl...> > > We have an ASP.net app that is copies an existing database program
> > > functionality, that does not require users to click a Save buttonuser> have> > they> > > make changes. To get this user functionality the same in ASP.net, I> > > used autopostbacks for all controls (other than datagrids) to save> and> > data> > > to database when they type in a text field and leave, or click a
> > > dropdownlist or checkbox. The users normally first search for an item>> >> > > update a few fields then stop using it for a few minutes.
> > >
> > > Is there any other way to do this than autopostbacks for each control?
> > >
> > > Thanks
> > > P
> > >
> > >
> >
>
MS News \(MS ILM\) Guest



Reply With Quote

