protected void Page_Load(object sender, EventArgs e) { UserValidate(); ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "anything", "test();", true); BU.Init(this, UserInfo); if (!IsPostBack) { Fdate.Text = DateAndTime.GetDate10DigitManyAgoDays(-7); Ldate.Text = DateAndTime.GetDate10Digit(); BU.FillddlReceiptState(); BU.Load_MyGrid(); } }
protected void Page_Load(object sender, EventArgs e) { UserValidate(); ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "anything", "test();", true); _fin.InitializeFinancialPanel(this, UserInfo); if (!IsPostBack) { Fdate.Text = DateAndTime.GetDate10DigitManyAgoDays(-60); Ldate.Text = DateAndTime.GetDate10Digit(); _fin.Load_ddlCountry(); _fin.Load_MyGrid(); } }