Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugging at remote site
Message
De
17/12/2010 09:18:18
 
 
À
17/12/2010 06:37:11
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01492839
Message ID:
01493084
Vues:
48
>Can you hook the Page.PreRender event and log the Textbox value there as it is going out the door? At least that might tell you whether the weirdness is occuring on the server or the browser.

I've added this code:
        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);
        }
and the log file shows that at this point in time, the txtPremium.Text = 104.22, so somewhere after this it is getting set back to 102.87.

What event/method would be the next place to check?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform