Ah sììììììììì scusa!!! che idiota!! ho letto il tuo mess troppo di fretta..
Ok..
Ecco il codice del file 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>Il mio primo sito in ASP.NET</title>
<script language="javascript" type="text/javascript">
<!--
function DIV1_onclick() {
}
// -->
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<div style="width: auto; height: 52px; text-align: center; background:#D5DADD ">
<span style="font-size: 36pt; color: #000099; font-family: Alba Super">Il mio primo
sito in ASP.NET</span></div>
</div>
<asp:Menu ID="Menu1" runat="server" BackColor="#F7F6F3" DynamicHorizontalOffset="2"
Font-Names="Verdana" Font-Size="10pt" ForeColor="#7C6F57" Height="228px" OnMenuItemClick="Menu1_MenuItemClick"
StaticSubMenuIndent="10px" Width="238px">
<StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
<DynamicHoverStyle BackColor="#7C6F57" ForeColor="White" />
<DynamicMenuStyle BackColor="#F7F6F3" />
<StaticSelectedStyle BackColor="#5D7B9D" />
<DynamicSelectedStyle BackColor="#5D7B9D" />
<DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
<StaticHoverStyle BackColor="#7C6F57" ForeColor="White" />
<Items>
<asp:MenuItem Selectable="False" Text="Menu" Value="Menu" ></asp:MenuItem>
<asp:MenuItem Enabled="False" Text="Home page" Value="Home page"></asp:MenuItem>
<asp:MenuItem Text="Registrazione" Value="Registrazione"></asp:MenuItem>
<asp:MenuItem Text="Pagina 1" Value="Pagina 1"></asp:MenuItem>
<asp:MenuItem Text="Pagina 2" Value="ù"></asp:MenuItem>
<asp:MenuItem Text="Pagina 3" Value="Pagina 3"></asp:MenuItem>
<asp:MenuItem Text="Pagina 4" Value="Pagina 4"></asp:MenuItem>
</Items>
</asp:Menu>
<asp:Login ID="Login1" runat="server" BackColor="#F7F6F3" BorderColor="#E6E2D8" BorderPadding="4"
BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em"
ForeColor="#333333" Height="165px" OnAuthenticate="Login1_Authenticate" Style="left: 11px;
position: absolute; top: 344px" Width="225px">
<TitleTextStyle BackColor="#5D7B9D" Font-Bold="True" Font-Size="0.9em" ForeColor="White" />
<InstructionTextStyle Font-Italic="True" ForeColor="Black" />
<TextBoxStyle Font-Size="0.8em" />
<LoginButtonStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1px"
Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284775" />
</asp:Login>
<div style="font-size: 10pt; left: 14px; width: 231px; font-family: verdana, tahoma, arial, 'times new roman';
position: absolute; top: 530px; height: 137px; background-color: #f0f0f0; text-align: center">
Per contattarmi scrivete a:
Gioia Ballin
gioiaballin@yahoo.it
</div>
<div style="left: 244px; width: 617px; top: -237px; height: 563px; position: relative; font-size: 10pt; font-family: Verdana,Tahoma, Arial, Times New Roman; text-align: left; background-color: transparent;" id="DIV1" language="javascript" onclick="return DIV1_onclick()">
LA TECNOLOGIA ASP.NET
sdlgpklòfdkkfdlkdlhklkjjlgfjjlòhglàùjhgàùògàòflglg lòh,klkhkkljlòfkòjfhjhòàlàhljhgàùòjgàùfùòfhjgg
</div>
</form>
</body>
</html>
Ecco il codice del file Default.aspx.cs
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Menu1_MenuItemClick(object sender, MenuEventArgs e)
{
}
protected void Login1_Authenticate(object sender, AuthenticateEventArgs e)
{
}
}
Ti ringrazio cmq per la tua disponibilità!!![]()

Rispondi quotando