Ok i have read and reread this article probably a 100 times and am still confused.
http://msdn.microsoft.com/en-us/library/ms178472.aspxBasically I have a postback trigger a C# function, which builds a session variable, and also populate a confirmbuttonextender.
now, i know that the confirmbuttonextender.ConfirmText is being set to what i want by doing step over mode, but it is lagged by 2-3 submit clicks.
My question is, In the life cycle of an ASP.Net page how exactly are events fired off? I think i have something totally out of order but not sure as to what.
Page_Load code:
CODE
protected void Page_Load(object sender, EventArgs e)
{
ScriptManager1.RegisterAsyncPostBackControl(lbtnCaptchaRefresh);
ScriptManager1.RegisterAsyncPostBackControl(txtPhone);
if (!Page.IsPostBack)
{
ddlCountry.SelectedIndex = 47;
tempstr = "did not work";
}
if (Page.IsPostBack)
{
BuildSession();
tempstr = Session["localsendvalue"].ToString();
}
}