protected void Page_Load(object sender, System.EventArgs e)
{
// DNUpFilesAJAXProgressBE1 control has been placed in the Web Page
// In the following we Register the Control for AJAX and set some of it's properties
// RegisterForAjax();
this.DNUpFilesAJAXProgressBE1.RegisterForAjax();
// httpApplicationState
this.DNUpFilesAJAXProgressBE1.httpApplicationState = this.Page.Application;
// VRoot
this.DNUpFilesAJAXProgressBE1.VRoot = (string)Application["vroot"];
}
// On the ButtonApply_Click event we set some more properties of
// DNUpFilesAJAXProgressBE1 control
protected void ButtonApply_Click(object sender, EventArgs e)
{
this.DNUpFilesAJAXProgressBE1.ShowTotalProgressBar =
this.CheckBoxShowProgressBar.Checked;
this.DNUpFilesAJAXProgressBE1.ShowTotalProgressData =
this.CheckBoxShowProgressBarData.Checked;
this.DNUpFilesAJAXProgressBE1.ShowCurrentFileName =
this.CheckBoxShowCurrentFileName.Checked;
this.DNUpFilesAJAXProgressBE1.ShowTimerData =
this.CheckBoxShowTimerData.Checked;
this.DNUpFilesAJAXProgressBE1.ShowProgressStatus =
this.CheckBoxShowProgessStatus.Checked;
this.DNUpFilesAJAXProgressBE1.ShowCancelButton =
this.CheckBoxShowCancelButton.Checked;
this.DNUpFilesAJAXProgressBE1.Language =
this.DropDownListLanguage.SelectedValue;
this.DNUpFilesAJAXProgressBE1.Skin =
this.DropDownListSkin.SelectedValue;
}
|