|
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Edit.aspx.cs" Inherits="Project_Edit" %>
<!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">
<link href="~/Media/layout.css" rel="stylesheet" type="text/css" />
<title>Edit</title>
</head>
<body id="dialog">
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<div>
<asp:UpdatePanel ID="UpdatePanel" runat="server" OnLoad="UpdatePanel_Load">
<ContentTemplate>
<table border="0" cellspacing="4" cellpadding="0">
<tr>
<td align="right" valign="top"></td>
<td><h1>Edit Task</h1></td>
</tr>
<tr>
<td></td>
<td><asp:LinkButton ID="ButtonDelete" runat="server" OnClick="ButtonDelete_Click" Text="Delete Task" OnClientClick="return confirm('Delete this task?');" /></td>
</tr>
<tr>
<td align="right" valign="top">Start:</td>
<td><asp:TextBox ID="TextBoxStart" runat="server" Width="200"></asp:TextBox></td>
</tr>
<tr>
<td align="right" valign="top">Duration:</td>
<td><asp:DropDownList ID="DropDownListDuration" runat="server" >
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
</asp:DropDownList>
days</td>
</tr>
<tr>
<td align="right" valign="top">Note:</td>
<td><asp:TextBox ID="TextBoxNote" runat="server" Width="200"></asp:TextBox></td>
</tr>
<tr>
<td align="right"></td>
<td>
<asp:Button ID="ButtonOK" runat="server" OnClick="ButtonOK_Click" Text="OK" />
<asp:Button ID="ButtonCancel" runat="server" Text="Cancel" OnClick="ButtonCancel_Click" />
</td>
</tr>
</table>
</ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="ButtonDelete" />
<asp:PostBackTrigger ControlID="ButtonOK" />
<asp:PostBackTrigger ControlID="ButtonCancel" />
</Triggers>
</asp:UpdatePanel>
</div>
<script type="text/javascript">
document.getElementById("TextBoxNote").focus();
</script>
<script type="text/javascript">
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function (sender, args) {
modal.stretch();
});
</script>
</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.