Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Text Field Values


Message #1 by "Hugh McLaughlin" <hugh@k...> on Sun, 18 Nov 2001 01:17:08
Hello Everyone and thanks for your help in advance.  I have been coding in 

ASP for about two years but am very new to .Net.  I am trying to convert 

some calculators I had built in ASP to .Net.  My question is, my 

calculator loads the text fields with default values for the first pass.  

How do I do this in a fashion that will load the values on the first pass, 

yet maintain the state in future postbacks.  I know this is pretty basic, 

but I can't seem to figure it out.  Any help is greatly appreciated.  

Thanks.
Message #2 by "Tomm Matthis" <matthis@b...> on Sun, 18 Nov 2001 10:16:59 -0500
I believe there is a property called "IsPostBack" that you can check..



-- Tomm



> -----Original Message-----

> From: Hugh McLaughlin [mailto:hugh@k...]

> Sent: Sunday, November 18, 2001 1:17 AM

> To: aspx_beginners

> Subject: [aspx_beginners] Text Field Values

> 

> 

> Hello Everyone and thanks for your help in advance.  I have been coding in 

> ASP for about two years but am very new to .Net.  I am trying to convert 

> some calculators I had built in ASP to .Net.  My question is, my 

> calculator loads the text fields with default values for the first pass.  

> How do I do this in a fashion that will load the values on the first pass, 

> yet maintain the state in future postbacks.  I know this is pretty basic, 

> but I can't seem to figure it out.  Any help is greatly appreciated.  

> Thanks.

> ---

> The Antechinus C# Editor 

> 

> Enables you to design, compile and run C# applications 

> from the integrated environment. Version 4.1 has been 

> upgraded for seamless integration with Microsoft's 

> Beta 2 version of the .NET environment. Antechinus 

> enables project generation and maintenance for the 

> compilation of console and Windows programs, libraries 

> and add-on modules and includes syntax coloring and 

> syntax error navigation after compiling.

> http://adtracking.wrox.com/track.asp?x=NEWS&url=www.c-point.com

> ---

> You are currently subscribed to aspx_beginners 

> as: matthis@b...


> $subst('Email.Unsub')


  Return to Index