개정판 edded054
issue #0000
신규 row 입력 시 이벤트 추가
- 신규 row 입력 시 brief, image 에 정상적으로 바인딩 되도록 추가 진행중
Change-Id: If9fb8446fef857bbf663230c980d909b92a06060
ID2.Manager/ID2.Manager.Dapper/Repository/DocumentRepository.cs | ||
---|---|---|
408 | 408 |
( |
409 | 409 |
lower(newid()) |
410 | 410 |
,@DocumentNo |
411 |
,@RevisonNo
|
|
411 |
,case when isnull(@RevisonNo,'')='' then '0' else @RevisonNo end
|
|
412 | 412 |
,@System |
413 | 413 |
,@SubSystemCode |
414 | 414 |
,@RefProjectCode |
ID2.Manager/ID2.Manager/Main.cs | ||
---|---|---|
97 | 97 |
this.radCheckBox4.CheckStateChanged += RadCheckBox_CheckStateChanged; |
98 | 98 |
this.radTextBoxDocumentNo.KeyDown += RadTextBoxDocumentNo_KeyDown; |
99 | 99 |
this.radButtonSearch.Click += RadButtonSearch_Click; |
100 |
|
|
100 |
|
|
101 |
this.radGridViewDocuments.DefaultValuesNeeded += RadGridViewDocuments_DefaultValuesNeeded; |
|
102 |
this.radGridViewDocuments.UserAddedRow += RadGridViewDocuments_UserAddedRow; |
|
101 | 103 |
this.radGridViewDocuments.SelectionChanged += RadGridViewDocuments_SelectionChanged; |
102 | 104 |
this.radGridViewDocuments.ViewCellFormatting += RadGridViewDocuments_ViewCellFormatting; |
103 | 105 |
this.radGridViewDocuments.CreateRowInfo += RadGridViewDocuments_CreateRowInfo; |
... | ... | |
489 | 491 |
} |
490 | 492 |
} |
491 | 493 |
|
494 |
private void RadGridViewDocuments_DefaultValuesNeeded(object sender, GridViewRowEventArgs e) |
|
495 |
{ |
|
496 |
BindingDocumentToDetailEditor(new Documents()); |
|
497 |
} |
|
498 |
|
|
499 |
private void RadGridViewDocuments_UserAddedRow(object sender, GridViewRowEventArgs e) |
|
500 |
{ |
|
501 |
if (e.Row.DataBoundItem is Documents doc) |
|
502 |
{ |
|
503 |
this.documents.Add(doc); |
|
504 |
} |
|
505 |
} |
|
506 |
|
|
492 | 507 |
/// <summary> |
493 | 508 |
/// 선택된 행의 AutoCAD와 PDF 파일을 보여준다. |
494 | 509 |
/// </summary> |
내보내기 Unified diff