protected override void OnPreRender(EventArgs e) >> { >> StreamWriter SW; >> SW = File.CreateText("c:\\SIAS\\SIASPrerenderLog.txt"); >> SW.WriteLine("Base Premium: " + txtPremium.Text); >> SW.Close(); >> >> base.OnPreRender(e); >> }>>
protected void Page_Load(object sender, EventArgs e) > { > Unload += new EventHandler(Page_Unload); > } > > protected override void Render(HtmlTextWriter writer) > { > //Check here > base.Render(writer); > } > > void Page_Unload(object sender, EventArgs e) > { > //Check here > }but I'd be surprised if it had changed. Sounds more like a ViewState, cacheing or browser issue? Any Javascript in the page on the browser?
<script src="js/jquery.js" type="text/javascript"></script> <script src="js/jquery.maskedinput.js" type="text/javascript"></script> <script type="text/javascript" src="js/jquery.formatCurrency.js"></script> <script type="text/javascript"> jQuery(function($) { $(".number").mask("999999999.99"); $(".date").mask("99/99/9999"); $(".code6").mask("999999"); }) $(document).ready(function() { $('.currency').blur(function() { $('.currency').formatCurrency({ groupDigits: false, symbol: '' }); }); }); </script>I've put code to check the value of the text box at various stages and here's what I've found: