1 / 3

.NET Programming: Basic ASPX Scripting & HTML Embedment

.NET Programming: Basic ASPX Scripting & HTML Embedment. Christopher M. Pascucci. Basic Syntax & HTML Embedment. When an ASPX enabled Web Server accesses an ASPX page in response to a URL request, it will perform server side processing in response to the following syntactic elements :

amato
Download Presentation

.NET Programming: Basic ASPX Scripting & HTML Embedment

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. .NET Programming: Basic ASPX Scripting & HTML Embedment Christopher M. Pascucci

  2. Basic Syntax & HTML Embedment • When an ASPX enabled Web Server accesses an ASPX page in response to a URL request, it will perform server side processing in response to the following syntactic elements: • Inline Scripting: script within the <% ... %> tag • Script within the <script runat="server" …> </script tag> • The <asp:subtagName … /> tag  (with or without a runat="server" attribute) • An html form tag with a runat="server" attribute • The VB code in a CodeBehind • The function of an instantiated component class • ASPX script and HTML can be intermixed.  The server will transmit to the browser as it processes the page.  Following is an example that illustrates many features of ASPX embedment in HTML. • Example 1: • Demo • Code • Example 2: • Demo • Code of HTML page • Code of ASPX page

  3. Basic Syntax & HTML Embedment • When an ASPX enabled Web Server accesses an ASPX page in response to a URL request, it will perform server side processing in response to the following syntactic elements:

More Related