Click here to Skip to main content
15,886,199 members
Articles / Web Development / HTML

Leveraging .NET Components and IDE Integration: UI AOP in an MVC use case

Rate me:
Please Sign up or sign in to vote.
4.99/5 (125 votes)
28 Jun 200598 min read 353.3K   835   384  
An in-depth exploration of the features and the power of .NET Component Model architecture, its integration with the IDE at design-time and the possiblities it opens through extensions at run-time.
<%@ Page language="c#" Codebehind="Home.aspx.cs" AutoEventWireup="false" Inherits="WebComponents.Home" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
  <HEAD>
    <title>Mvc Components</title>
    <meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
    <meta content="C#" name="CODE_LANGUAGE">
    <meta content="JavaScript" name="vs_defaultClientScript">
    <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  </HEAD>
  <body style="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma, Verdana">
    <form id="Form1" method="post" runat="server">
      <p>Publisher information:</p>
      <p>
        <table id="Table1" cellspacing="5" cellpadding="1" width="217" border="0" style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; FONT-SIZE: 8pt; BORDER-LEFT: 1px solid; WIDTH: 217px; BORDER-BOTTOM: 1px solid; FONT-FAMILY: Tahoma, Verdana; HEIGHT: 191px; BACKGROUND-COLOR: silver">
          <tr>
            <td>ID:</td>
            <td><asp:textbox id="txtID" runat="server" maxlength="4"></asp:textbox></td>
          </tr>
          <tr>
            <td>Name:</td>
            <td><asp:textbox id="txtName" runat="server"></asp:textbox></td>
          </tr>
          <tr>
            <td>City</td>
            <td><asp:textbox id="txtCity" runat="server"></asp:textbox></td>
          </tr>
          <tr>
            <td>State</td>
            <td><asp:textbox id="txtState" runat="server"></asp:textbox></td>
          </tr>
          <tr>
            <td>Country</td>
            <td><asp:textbox id="txtCountry" runat="server"></asp:textbox></td>
          </tr>
          <tr>
            <td colspan="2">
              <asp:button id="btnLoad" runat="server" text="Load"></asp:button>&nbsp;
              <asp:button id="btnSave" runat="server" text="Save"></asp:button>&nbsp;
              <asp:button id="btnDelete" runat="server" text="Delete"></asp:button></td>
          </tr>
        </table>
      </p>
    </form>
  </body>
</HTML>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer (Senior)
Argentina Argentina

Comments and Discussions