protected void GetInfo() { if (RadGrid1.SelectedValue != null) { var cCancel = new CCancel(); var cancel = cCancel.Get(Convert.ToInt32(RadGrid1.SelectedValue)); if (cancel != null) { RadDatePickerApplyDate.SelectedDate = cancel.ApplyDate; RadTextBoxComment.Text = cancel.Reason; } FileDownloadList1.GetFileDownload(Convert.ToInt32(RadGrid1.SelectedValue)); } }