I have a form like this:
<!-- MyForm.aspx --><form id="form1" runat="server">
<asp:TextBox runat="server" ID="inputbox" TextMode="Multiline" />
<asp:TextBox runat="server" ID="outputbox" TextMode="Multiline" /> <asp:Button runat="server" ID="OK" PostbackUrl="MyForm.aspx" Text="OK" OnClick="OK_OnClick" />
</form>
In the code-behind, I have:
protected void Ok_OnClick(object sender, EventArgs e)
{
// string Transform(string instr) is written by me
outputbox.Text = Transform(inputbox.Text);
}
The problem is that after the form has been idle for a few minutes, when you click the button, all the input and output disappears. By calling Response.Write in various places, I was able to establish t ...
Go to the complete details ...