This is my first blog and I have tried to explain that how to make a good looking window in Ext.Net.

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>

<!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 id="Head1" runat="server">
<title>Login</title
>

</
head>
<
body>
<form id="form1" runat
="server">

<ext:ResourceManager runat="server" ID="LoginResourceManager"
/>

<ext:Label ID="lblMessage" runat="server"
/>

<ext:Window ID="LoginWindow" runat="server" Closable="false" Resizable="false" Height
="150"

Icon="Lock" Title="Login" Draggable="false" Width="350" Modal="true" Padding
="5"

Layout="Form" Collapsible
="true">

<items
>

<ext:TextField ID="txtUsername" runat="server" FieldLabel="Email" AllowBlank
="false"

BlankText="Your username is required." Text="[email protected]" AnchorHorizontal="100%"
/>

<ext:TextField ID="txtPassword" runat="server" InputType="Password" FieldLabel
="Password"

AllowBlank="false" BlankText="Your password is required." Text="admin" AnchorHorizontal="100%"
/>

</items
>

<buttons
>

<ext:Button ID="btnLogin" runat="server" Text="Login" Icon
="Accept">

<DirectEvents
>

</DirectEvents
>

</ext:Button
>

</buttons
>

</ext:Window
>

</form
>

</
body>
</
html>