Web application example

Default.aspx
<%@ Page Language=”C#” AutoEventWireup=”true”  CodeFile=”Default.aspx.cs” Inherits=”_Default” %>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” >
<head runat=”server”>
<title>Procesare String</title>
</head>
<body>
<form id=”form1″ runat=”server”>
<div style=”border:solid 1px #ccc;padding:10px;width:500px;height:500px;position:relative; background-color:#eee”>
<!– String Label –>
<asp:Label ID=”labelString” runat=”server” Style=”z-index:102;font-family:Arial; font-size:small;” Text=”String:”></asp:Label>
<br />
<!– Text Input –>
<asp:TextBox ID=”textBox” runat=”server” Style=”z-index:105;font-family:Arial; font-size:small;” Width=”256px”></asp:TextBox>
<!– Validare Text Input–>
<asp:CustomValidator ID=”ValidateText” runat=”server” ControlToValidate=”textBox” ErrorMessage=”Nu este text!” OnServerValidate=”ValidateText_ServerValidate” Style=”z-index:108;”>
</asp:CustomValidator>
<br /><br />
<!– Tip [...]