ASP.NET Page.GetPostBackEventReference()를 이용한 doPostBack 자바스크립트로 behind code의 메서드를 실행하고 싶은 경우가 있다. 이럴 경우 보통은 스크립트에서 __doPostBack() 메서드를 정의해서 사용하곤 한다. 하지만, 이는 좋지 못한 방법이다. __doPostBack() 메서드는 .net에서 자동 생성하는 부분으로, 개발자가 별도로 작성하여도 바뀔 가능성이 있다. 또한, .net에서 자동으로 생성하지 않는 경우도 발생한다. 스크립트로 behind code의 메서드를 실행하고 싶을 때는 아래와 같은 방법을 권한다. 이는 postback이 발생하는 WebForm Control을 매개변수로 넘겨주면, 자동으로 __doPostBack()을 생성해 준다...
http://msdn2.microsoft.com/en-us/library/ms644563.aspx .NET Framework Developer's Guide ASP.NET Web Applications (.NET 3.0) ASP.NET is a unified Web platform that provides all the services necessary for you to build enterprise-class applications. ASP.NET is built on the .NET Framework, so all .NET Framework features are available to ASP.NET applications. Your applications can be written in any l..
기본적으로 웹 폼 이벤트 실행 순서는 Init > LoadViewState > Load > 서버콘트롤 이벤트 > PreRender > SaveViewState > Unload 순서로 실행된다. http://msdn2.microsoft.com/en-us/library/ms178473.aspx General Page Life-cycle Stages In general terms, the page goes through the stages outlined in the following table. In addition to the page life-cycle stages, there are application stages that occur before and after a request but are no..
http://weblogs.asp.net/scottgu/archive/2007/07/31/linq-to-sql-debug-visualizer.aspx Probably the biggest programming model improvement being made in .NET 3.5 is the work being done to make querying data a first class programming concept. We call this overall querying programming model "LINQ", which stands for .NET Language Integrated Query. Developers can use LINQ with any data source, and built..
ASP.NET Technical Articles Understanding ASP.NET View State Scott Mitchell 4GuysFromRolla.com May 2004 Applies to: Microsoft® ASP.NET Microsoft® Visual Studio® .NET Summary: Scott Mitchell looks at the benefits of and confusion around View State in Microsoft® ASP.NET. In addition, he shows you how you can interpret (and protect) the data stored in View State. (25 printed pages) Click here to dow..
XML파일과 XSL 파일을 입력 받아서 XSLT 변환을 하는 프로그램이다. 자세한 예외처리는 구현하지 않았다. 프로그램은 .net framework 2.0이상이 설치되어 있어야 실행할 수 있으며, Visual studio Orcas에서 개발하였다.
http://www.w3.org/TR/xmlschema-2/#regexs A ·regular expression· R is a sequence of characters that denote a set of strings L(R). When used to constrain a ·lexical space·, a regular expression R asserts that only strings in L(R) are valid literals for values of that type. Note: Unlike some popular regular expression languages (including those defined by Perl and standard Unix utilities), the regu..