aspx_beginners thread: Server doesn't maintain state
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
|





