Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Server doesn't maintain state


Message #1 by "frank" <frank@d...> on Wed, 11 Jul 2001 13:50:58 -0700
If I have a server control and populate it form a script it doesn't maintain

state. For example:



<HEAD>

<SCRIPT language=VBScript>

	Sub GetTime

		TextBox1.value = time()

	End Sub

</SCRIPT>

</HEAD>



<body MS_POSITIONING="GridLayout" onload="GetTime()">



<asp:TextBox id=TextBox1 style="Z-INDEX: 105; LEFT: 125px; POSITION:

absolute; TOP: 142px" runat="server"></asp:TextBox>



</body>



TextBox1 doesn't maintain state even thought it is a server control.  How

can I get the control to maintain state?



Frank




  Return to Index