You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
909 B

  1. using Swift.web.Library;
  2. using System;
  3. namespace Swift.web.AccountReport.AgentSummary
  4. {
  5. public partial class AgentSummeryReport : System.Web.UI.Page
  6. {
  7. private RemittanceLibrary _remitLib = new RemittanceLibrary();
  8. private const string ViewFunctionId = "20140200";
  9. protected void Page_Load(object sender, EventArgs e)
  10. {
  11. if (!IsPostBack)
  12. {
  13. _remitLib.CheckAuthentication(ViewFunctionId);
  14. agentGroupDDL.Attributes["onchange"] = "SetValue();";
  15. asOnDate.Text = DateTime.Now.ToString("d");
  16. asOnDate.Attributes.Add("readonly", "readonly");
  17. PopulateDDL();
  18. }
  19. }
  20. private void PopulateDDL()
  21. {
  22. _remitLib.SetDDL(ref agentGroupDDL, "EXEC Proc_dropdown_remit @flag='AGroup'", "valueId", "detailTitle", "", "");
  23. }
  24. }
  25. }