I ran into a double-executing problem a few times before --- there's a few
possibilities why this could be happening...
* check your page directive AutoEventWireup and make sure it's equal to
"false"
* i would create a Page_Load event, even if you don't plan to use it. this
way you can verify that the function is running as expected - and then have
some control over it in the future.
if you're using vb, then write it as:
Page_Load(.... args ....) Handles Page.Load
if you're using c#, then write it as:
Page_Load(.... args ....)
- and also in the InitializeComponent() function, add the line -
this.Load += new System.EventHandler(this.Page_Load);