From: <ro...@us...> - 2006-07-12 20:17:45
|
Revision: 114 Author: rouquin Date: 2006-07-12 13:17:32 -0700 (Wed, 12 Jul 2006) ViewCVS: http://svn.sourceforge.net/tcdb/?rev=114&view=rev Log Message: ----------- Minor change to insert defaults Modified Paths: -------------- WebPrototype/App_Data/ASPNETDB.MDF WebPrototype/App_Data/Database.mdf WebPrototype/App_Data/Database_log.LDF WebPrototype/App_Data/aspnetdb_log.ldf Website/Includes/ActionItems.ascx Modified: WebPrototype/App_Data/ASPNETDB.MDF =================================================================== (Binary files differ) Modified: WebPrototype/App_Data/Database.mdf =================================================================== (Binary files differ) Modified: WebPrototype/App_Data/Database_log.LDF =================================================================== (Binary files differ) Modified: WebPrototype/App_Data/aspnetdb_log.ldf =================================================================== (Binary files differ) Modified: Website/Includes/ActionItems.ascx =================================================================== --- Website/Includes/ActionItems.ascx 2006-07-12 19:55:26 UTC (rev 113) +++ Website/Includes/ActionItems.ascx 2006-07-12 20:17:32 UTC (rev 114) @@ -157,12 +157,16 @@ Label createdBy = (Label)FormView1.FindControl("createdByLbl"); Label dateAssigned = (Label)FormView1.FindControl("dateAssignedLbl"); DropDownList assignedTo = (DropDownList)FormView1.FindControl("assignedTo"); + DropDownList status = (DropDownList)FormView1.FindControl("statusList"); + RadioButtonList percent = (RadioButtonList)FormView1.FindControl("percentList"); createdBy.Text = g_user.FULLNAME; createdBy.Attributes.Add("id", g_user.ID.ToString()); dateAssigned.Text = DateTime.Today.ToShortDateString(); //dueDate.DateValue = DateTime.Today; assignedTo.SelectedValue = g_user.ID.ToString(); + status.SelectedIndex = 0; + percent.SelectedIndex = 0; } } protected void FormView1_ItemCommand(object sender, FormViewCommandEventArgs e) @@ -187,10 +191,10 @@ <td align=center> <strong>Status:</strong> <asp:DropDownList ID="statusList" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" DataSourceID=StatusDataSource - DataTextField=statusName DataValueField=statusID AppendDataBoundItems=True SelectedValue='<%# Eval("statusID") %>'> + DataTextField=statusName DataValueField=statusID AppendDataBoundItems=True SelectedValue='<%# Bind("statusID") %>'> </asp:DropDownList><br /> <strong>Percent Complete:</strong> <asp:RadioButtonList ID="percentList" runat="server" RepeatDirection="Horizontal" - AutoPostBack="True" OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged" SelectedValue='<%# Eval("percentComplete") %>'> + AutoPostBack="True" OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged" SelectedValue='<%# Bind("percentComplete") %>'> <asp:ListItem>0</asp:ListItem> <asp:ListItem>25</asp:ListItem> <asp:ListItem>50</asp:ListItem> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |