PageUtils.BindDropDownListFromLookup(ref ddlOverallResult, EnumLookupType.CourtApplicationResult);
LoadCourtList();
CourtApplicationDisposalsDTO courtApplicationDisposalsDTO = null;
using (var client = ServiceClient<ICourtApplicationManager>.Create(ObjectConstants.CourtApplicationManager))
{
courtApplicationDisposalsDTO = new CourtApplicationDisposalsDTO();
courtApplicationDisposalsDTO = client.Instance.GetCourtApplicationDisposals(ApplicationId);
}
//SET UI Controls
if (courtApplicationDisposalsDTO != null && courtApplicationDisposalsDTO.DisposalsId > 0)
{
DisposalsId = courtApplicationDisposalsDTO.DisposalsId;
if (courtApplicationDisposalsDTO.DtFinalJudOrder != null)
{
txtDateOfFinalJudgement.Text = courtApplicationDisposalsDTO.DtFinalJudOrder.Value.ToShortDateString();
}
ddlCourtNames.SelectedValue = courtApplicationDisposalsDTO.CourtId.ToString();
ddlOverallResult.SelectedValue = courtApplicationDisposalsDTO.CourtResult.ToString();
}
No comments:
Post a Comment