본문 바로가기

Programming

(57)
[ASP.NET] Control 검색 private Control FindControlRecursive(Control ctrl, string id) { if (ctrl.ID == id) { return ctrl; } foreach (Control child in ctrl.Controls) { Control t = FindControlRecursive(child, id); if (t != null) { Console.WriteLine(child); return t; } } return null; }
[DevExpress] ASPxHtmlEditor RTF 가져오기 String -> RTF (참고: http://stackoverflow.com/questions/1879395/how-to-generate-a-stream-from-a-string) public Stream GenerateStreamFromString(string s) { MemoryStream stream = new MemoryStream(); StreamWriter writer = new StreamWriter(stream); writer.Write(s); writer.Flush(); stream.Position = 0; return stream; } ASPxHtmlEditor1.Import( HtmlEditorImportFormat.Rtf, GenerateStreamFromString(drv["rt..
[HTML5] 동영상 코덱 관련 구분 WebM Ogg MP4 파이어폭스 O O X 크롬 O O X 오페라 O O X 사파리 O X O IE O X O IOS X X O ANDROID O X O not video
[DevExpress]GridView GridView 속성 //가져온 데이터소스의 모든 컬럼을 보여줄지(True), 지정한 컬럼만 보여줄지(False) 구분하는 속성AutoGenerrateColumns = "True|False" // Insert시 새로운 줄로 포커스를 맞추는 속성 gird.OptionsNavigation.AutoFocusNewRow = true;
[HTML]자동완성금지 : 제일 나음 jQuery('#해당어트류뷰트나 인풋태그의 아이디').attr("autocomplete","off");
[이클립스]단축키 ctrl + s: 저장 및 컴파일 ctrl + i: 소스 깔끔 정리(인덴트 중심의 자동구문정리) ctrl + space : 어휘의 자동완성(Content Assistance) ctrl + E : 열린파일 옮겨다니기 ctrl + shift + E : 열린파일 띄우기 ctrl + M : 에디터화면 넓게 ctrl + 1 : Quick Fix(Rename에 주로 사용) ctrl + shift + M : 캐럿이 위치한 대상에 필요한 특정클래스 import ctrl + shift + O : 소스에 필요한 패키지의 자동 임포트 ctrl + /: 한줄 또는 선택영역 주석처리/제거 ctrl + Q : 마지막 편집위치로 가기 ctrl + L : 특정줄번호로 가기 ctrl + D : 한줄삭제 ctrl + H : Find 및..
[CSS]더블마진 원인 : float:left로 margin있으면 ie7이하는 더블마진 발생 해결 : display:inline;
[HTML]X초 뒤 페이지 이동