일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
- Web Service
- Android
- Bootstrap
- Java
- 자바스크립트
- SpringSource Tool Suite
- scrollView
- MANTIS
- 이클립스
- asp.net
- varags
- MSsql
- 컬럼명
- 자바
- html
- TextBox
- C#
- Redirect
- MS-SQL
- 웹 서비스
- decompiler
- Eclipse
- javascript
- 안드로이드
- Apache Lucene
- jsp
- 웹뷰
- Maven
- WebView
- STS
- Today
- Total
목록C# | ASP.NET (43)
bboks.net™
1. 팝업창을 띄우기 위한 javascript를 aspx파일에 작성 axpx 파일 function CheckId() { window.showModalDialog("CheckID.aspx", window, "dialogWidth:410px; dialogHeight:258px;status:no; scroll:no;help:no;unaborned:no"); } 2. Code Behind에서 Textbox에 javascript 연결 axpx.cs (code behind) protected void Page_Load(object sender, EventArgs e) { txtUserId.Attributes.Add("onFocus", "CheckIdl()"); } [참조] Change Textbox/Input ba..
IE를 띄우려면 2가지 방법이 있다. Process 클래스를 이용한 방법과 System32폴더에 존재하는 SHDocVw.dll을 참조해서 사용하는 것이다. 첫째 Process 클래스를 이용한 방법을 알아보자. 오나전 쉽다. 아래 코드를 보면 이해가 될 것이다. 여기서 Process 클래스의 WaitForExit(); 함수를 호출하면 Modal형태로 띄울 수 있게된다. ------------------------------------------------------------------------------------------------------------ private void button1_Click(object sender, EventArgs e) { ProcessStartInfo startInf..
ASPX DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Untitled Page function ShowConfirmation() { if(confirm("Are you want to show the value?")== true) { //Calling the server side code after confirmation from the user document.getElementById("btnAlelrt").click(); } } Code Behind using System; using System.Data; using System.C..
일반적으로 aspx에서 form 태그를 써서 값을 넘겨도 되지만 부득이하게 코드비하인드에서 POST로 값을 넘겨야 할 경우가 발생한다. 아래의 코드를 이용하면 한방에 해결private void submitForm(string url, string mallId, string mallNo, string orderNo) { System.Web.HttpContext.Current.Response.Write(""); System.Web.HttpContext.Current.Response.Write(string.Format("", mallId)); System.Web.HttpContext.Current.Response.Write(string.Format("", mallNo)); System.Web.HttpConte..