Re: Web form retains values over diferent stations
From: Patrice (nobody_at_nowhere.com)
Date: 02/09/05
- Next message: Eliyahu Goldin: "Re: Please help - weird problem"
- Previous message: Mona: "Re: Multiple instances of ASPNET_WP.EXE?"
- In reply to: cFleury: "Re: Web form retains values over diferent stations"
- Next in thread: cFleury: "Re: Web form retains values over diferent stations"
- Reply: cFleury: "Re: Web form retains values over diferent stations"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 9 Feb 2005 10:01:50 +0100
And how is defined this structure ????
Patrice
-- "cFleury" <cFleury@discussions.microsoft.com> a écrit dans le message de news:0DB9C4EB-9A57-443E-ABB8-A7AB35FC9707@microsoft.com... > The first behavior, Patrice, the same values are seem across all wstations... > Thanks > C.Fleury > > "Patrice" wrote: > > > How is defined this structure ? In a module ? > > > > Just to make it clear (english is not my native language) do you mean that > > you see the same values accross several wstations or do you mean values on a > > particular workstations are kept intact when you postback ? My understanding > > is that you see the first behavior (values seemed to be "shared" accross > > several workstations). > > > > Patrice > > > > -- > > > > "cFleury" <cFleury@discussions.microsoft.com> a écrit dans le message de > > news:EAF823EC-CB2F-42A6-BDAA-653C7D05FCC1@microsoft.com... > > > Patrice, > > > > > > All objects are unbound textboxes in which the user enters data manually.I > > > do have this code in my "page_load" event, which retains the form values > > in > > > between postbacks, in this case "sys" is a public structure: > > > > > > If Not IsPostBack Then > > > txb1.Text = IIf(Empty(sys._1), "0", sys._1) > > > txb2.Text = IIf(Empty(sys._2), "0", sys._2) > > > txb5.Text = IIf(Empty(sys._5), "0", sys._5) > > > txb10.Text = IIf(Empty(sys._10), "0", sys._10) > > > txb20.Text = IIf(Empty(sys._20), "0", sys._20) > > > txb50.Text = IIf(Empty(sys._50), "0", sys._50) > > > txb100.Text = IIf(Empty(sys._100), "0", sys._100) > > > txbCoins.Text = IIf(Empty(sys._Coins), "0", sys._Coins) > > > End If > > > > > > Thanks Patrice > > > C.Fleury > > > > > > > > > "Patrice" wrote: > > > > > > > What values ? (form fields value ?). From where are coming those values > > in > > > > your application ? > > > > > > > > Most often when you have the same values on several wstations this is > > > > because you used shared (or a VB.NET module) (or static in C#) > > members... Is > > > > this the case ? > > > > > > > > Patrice > > > > > > > > > > > > > > > > -- > > > > > > > > "cFleury" <cFleury@discussions.microsoft.com> a écrit dans le message de > > > > news:05ABFAFE-3777-4A8C-9D94-D0AB0DD5D5C1@microsoft.com... > > > > > I have an ASP.NET web form that is retaining values over different > > > > stations > > > > > on the network, how can I stop this behavior ?. I didn't do anything > > > > special > > > > > to cause it. > > > > > > > > > > Thanks > > > > > C.Fleury > > > > > > > > > > > > > > > > > > > > > > >
- Next message: Eliyahu Goldin: "Re: Please help - weird problem"
- Previous message: Mona: "Re: Multiple instances of ASPNET_WP.EXE?"
- In reply to: cFleury: "Re: Web form retains values over diferent stations"
- Next in thread: cFleury: "Re: Web form retains values over diferent stations"
- Reply: cFleury: "Re: Web form retains values over diferent stations"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|