본문 바로가기
반응형

개발언어/3rd Part35

ultrawebgrid의 예외처리에러 When batching, the command's UpdatedRowSource property value of UpdateRowSource.FirstReturnedRecord or UpdateRowSource.Both is invalid 예외발생상황 When batching, the command's UpdatedRowSource property value of UpdateRowSource.FirstReturnedRecord or UpdateRowSource.Both is invalid 배치 업데이트를 수행하기 위해 추가적으로 설정해야 할 작업은 추가/수정/삭제 커맨드의 UpdateRowSource 속성의 값을 None 혹은 OutputParameters 로 설정해야 한다는 것이다. UpdateRowSource 속성은 추가/수정/삭제의 업데이트 결과를 어떻게 받아올 것인가를 지정하는 속성으로써 UpdateRowSource 열거 타입인 None, OutputParameter, FirstReturnedRecord, Both 중 하나의 값으로.. 2008. 11. 20.
Want DropDownList in Column to 'always' display in grid 컬럼의 속성을 dropdownlist으로 하면 드랍다운으로 나온다. 하지만 클릭시에만 드랍다운로드 된다. 컬럼Type을 버튼으로 설정을하고 아래 코드를 하면 col.CellButtonDisplay = CellButtonDisplay.Always; 라고 설정을하면 항상 버튼으로 나온다. 하지만 드랍다운의 경우는 블가능하다고 한다. http://forums.infragistics.com/forums/p/9187/35771.aspx#35771 여러 문제가 있단다. 그래서 webcombo나 templatecolumn을 하란다. 블로그에서 게시된 글 The WebGrid doesn't allow you to do this by default. When dealing with a web application, pe.. 2008. 11. 18.
Columns 컬럼 DropDownList 드랍다운 만들기 this.igGrid_ContractAP_Transact_2.DisplayLayout.Bands[0].Columns[grid3_inoutgubun].Type = ColumnType.DropDownList; ValueList mgubun = new ValueList(true); mgubun.ValueListItems.Add(""); mgubun.ValueListItems.Add("무상"); mgubun.ValueListItems.Add("유상"); this.igGrid_ContractAP_Transact_2.DisplayLayout.Bands[0].Columns[grid3_inoutgubun].ValueList = mgubun; 컬럼타입을 드랍다운으로 설정하고 add 시키고 붙이면 된다. 2008. 11. 17.
WebMaskEdit 를 webgrid에 붙이기 aspx) c#) gGrid_ContractAP_Search.Bands[0].AllowUpdate = AllowUpdate.Yes; igGrid_ContractAP_Search.Bands[0].Columns.FromKey("condate").DataType = "System.DateTime"; igGrid_ContractAP_Search.Bands[0].Columns.FromKey("condate").Type = ColumnType.Custom; igGrid_ContractAP_Search.Bands[0].Columns.FromKey("condate").EditorControlID = WebDateChooser1.ID; WebDateChooser1.Visible = true; WebDateChooser1.. 2008. 11. 17.
반응형