<div class="forum-post">
hi everybody, this is my first message.
today
i had tried the put the MVC's default logon page inside an ext:window,
but i'm new in coolite and asp.net(until i finish my asp.net training
=] )
<div class="forum-code">
<asp:Content ID="loginContent" ContentPlaceHolderID="MainContent" runat="server">
<ext:ScriptManager ID="ScriptManager1" runat="server" Theme="Gray">
</ext:ScriptManager>
<ext:Button ID="Button1" runat="server" Text="Show Window" Icon="Application">
<Listeners>
<Click Handler="#{Window1}.show();" />
</Listeners>
</ext:Button>
<ext:Window
ID="Window1"
runat="server"
Title="Hello World!"
Height="175px"
Width="300px"
BodyStyle="padding: 6px; background-color: #fff;"
Collapsible="True"
Modal="True"
Icon="Application" AutoShow="True">
<Body>
<h2>Log On</h2>
<p>
Please enter your username and password. <%= Html.ActionLink("Register", "Register") %>
if you don't have an account.
</p>
<%= Html.ValidationSummary() %>
<% using (Html.BeginForm()) { %>
<fieldset>
<legend>Account Information</legend>
<p>
<label for="username">Username:</label>
<%= Html.TextBox("username") %>
<%= Html.ValidationMessage("username") %>
</p>
<p>
<label for="password">Password:</label>
<%= Html.Password("password") %>
<%= Html.ValidationMessage("password") %>
</p>
<p>
<%= Html.CheckBox("rememberMe") %> <label class="inline" for="rememberMe">
Remember me?</label>
</p>
<p>
<input type="submit" value="Log On" />
</p>
</fieldset>
<% } %>
</Body>
</ext:Window>
</asp:Content>
result: the windows just does not appear .. lol, I do not know, but I think I'm going the right direction, am I?
thanks! i loved the coolite project!
<div class="forum-post-footer">
ah, sorry, my English is very bad when I'm sleepy