I inherited this code and trying to make it work.
Here is the updateprogress code
<asp:UpdateProgress ID="progress" runat="server" DisplayAfter="1" AssociatedUpdatePanelID="updPanel">
<ProgressTemplate>
<asp:Label ID="lblProcessing" runat="server" Text="Processing. . ." Font-Bold="true" Font-Size="14" ForeColor="Red" />
</ProgressTemplate>
</asp:UpdateProgress>
Update panel code
<asp:UpdatePanel runat="server" UpdateMode="Conditional" ID="updPanel">
<Triggers>
<asp:PostBackTrigger ControlID="txtSamples" />
</Triggers>
<Triggers>
<asp:PostBackTrigger ControlID="btnGo" />
</Triggers>
<ContentTemplate>
<asp:Panel id="pnlInfo" runat="server" Width="800px" HorizontalAlign="center" Wrap="False">
<table width="80%" cellpadding="1" cellspacing="0" style="margin-top: 0px" border="1" >
<tr>
<td height="25">
<table width="100%" cellpadding="1" cellspacing="0" style="margin-top: 0px;">
<tr>
<td width="5%" class="bodyText" align="left" />
<td width="45%" class="bodyText" align="left">
<b>General Information</b>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="35" >
<table width="100%" cellpadding="1" cellspacing="0" style="margin-top: 0px" >
<tr>
<td width="33%" class="bodyText" align="right">Sampled In:
<asp:DropDownList ID="ddlCounty" runat="server" AutoPostBack="True" BackColor="#FFFFCC" Width="110px" />
</td>
<td width="33%" class="bodyText" align="right">Farm ID:
<asp:TextBox ID="txtFarmID" runat="server" onclick="clearMe(this);" width="105px">(Optional)</asp:TextBox>
</td>
<td width="34%" class="bodyText" align="right">Sample Date:
<asp:TextBox ID="txtDate" runat="server" width="105px" AutoPostBack="True" />
<asp:CalendarExtender ID="CalendarExtender1" runat="server" Format="MM/dd/yyyy" TargetControlID="txtDate" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="35" >
<table width="100%" cellpadding="1" cellspacing="0" style="margin-top: 0px;" >
<tr>
<td width="36%" class="bodyText" align="right">
Enter Number of Samples:
<asp:TextBox ID="txtSamples" runat="server" width="50px"
AutoPostBack="True" ToolTip="Enter number of samples to be submitted."
Enabled="False" CssClass="rightJustifyText" MaxLength="4" />
</td>
<td width="34%" class="bodyText" align="left" >
(then press Enter)
</td >
</tr>
<tr>
<td class="bodyText" align="center" colspan="2" >
</td>
</tr>
</table>
</td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="pnlDetails" runat="server" Width="1183px" HorizontalAlign="center" Wrap="False">
<table width="100%" cellpadding="1" cellspacing="0" style="margin-top: 0px" border="0" >
<tr>
<td>
<table width="100%" cellpadding="1" cellspacing="0" style="margin-top: 0px;" >
<tr>
<td height="35px" class="bodyText" align="left" style="width: 15%">
<b>Sample Details</b>
<asp:Label ID="lblSubmit" runat="server" ForeColor="Green" />
</td>
<td height="35px" class="bodyText" align="center" style="width: 35%">
<asp:Label ID="lblPrintMessage" BorderStyle="Solid" BorderColor="Red" Text="Please select 'Print Sample info form' and include it in your box of samples" runat="server" Font-Bold="true" Font-Size="12" ForeColor="Red" />
</td>
<td width="15%" height="35px" class="bodyText" align="left">
<asp:DropDownList ID="ddlActions" runat="server" >
<asp:ListItem Value="0">Please select:</asp:ListItem>
<asp:ListItem Value="1">Submit to PALS</asp:ListItem>
<asp:ListItem Value="2">Print sample info form</asp:ListItem>
<asp:ListItem Value="3">Prepare shipment</asp:ListItem>
<asp:ListItem Value="4">Import from Excel file</asp:ListItem>
<asp:ListItem Value="5">Export to Excel file</asp:ListItem>
<asp:ListItem Value="6">Export to XML file</asp:ListItem>
</asp:DropDownList>
<asp:Button ID="btnGo" runat="server" Text=" Go " />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" class= "bodyText">
<asp:GridView ID="gvSamples" runat="server" AutoGenerateColumns="False" Bordercolor="Black"
AlternatingRowStyle-BackColor="#eeeeee" RowStyle-Height="12px" Width="1182px">
<RowStyle Height="12px" Wrap="true" />
<Columns>
<asp:BoundField DataField="Seq" HeaderText="No." />
<asp:TemplateField HeaderText="Sample ID">
<ItemTemplate>
<asp:TextBox ID="txtSampleID" MaxLength="5" runat="server" Width="40px" ToolTip="Enter your Sample ID number. If left blank it will be auto populated for you." />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="First Crop Group">
<ItemTemplate>
<asp:DropDownList ID="ddlFirstGroup" runat="server"
CssClass="dropDownAutoWidth" AutoPostBack="true"
ToolTip="Select the First Crop Group"
onselectedindexchanged="ddlFirstGroup_SelectedIndexChanged" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="First Crop Code">
<ItemTemplate>
<asp:DropDownList ID="ddlFirstCode" runat="server" ToolTip="Select the First Crop Code after selecting the First Crop Group" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Second Crop Group">
<ItemTemplate>
<asp:DropDownList ID="ddlSecondGroup" runat="server" CssClass="dropDownAutoWidth" AutoPostBack="true"
onselectedindexchanged="ddlSecondGroup_SelectedIndexChanged" ToolTip="Select the Second Crop Group (Optional)" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Second Crop Code">
<ItemTemplate>
<asp:DropDownList ID="ddlSecondCode" runat="server" CssClass="dropDownAutoWidth" ToolTip="Select the Second Crop Code after selecting the Second Crop Group (Optional if no Second Crop Group is selected)" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Lime Tons / Acre">
<ItemTemplate>
<asp:TextBox ID="txtTonsAcre" runat="server" MaxLength="5" CssClass="rightJustifyText" Width="80px" ToolTip="Enter the Limes in Tons per Acre (Optional)" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Lime Month">
<ItemTemplate>
<asp:DropDownList ID="ddlLimeMonth" runat="server" CssClass="rightJustifyDDL" ToolTip="Select the Month the Lime was applied (Optional)" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Lime Year">
<ItemTemplate>
<asp:DropDownList ID="ddlLimeYear" runat="server" CssClass="rightJustifyDDL" ToolTip="Select the Year the Lime was applied (Optional)" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField>
<HeaderTemplate>
<asp:Label ID="lblTip" runat="server" ToolTip="Click icon to fill all rows below automatically. (works only with more than 1 row)" Text="Cascade" />
</HeaderTemplate>
<ItemTemplate>
<asp:imageButton runat="server" ID="imgCascade" ImageUrl="~/images/can.jpg" ToolTip="Click icon to fill all rows below automatically. (works only with more than 1 row)"
CommandName="FillRows" CommandArgument='<%# Container.DataItemIndex %>' />
</ItemTemplate>
</asp:TemplateField>
</Columns>
<AlternatingRowStyle BackColor="#EEEEEE" />
</asp:GridView>
</td>
</tr>
</table>
</asp:Panel>
</ContentTemplate>
</asp:UpdatePanel>
When the user enters a large number in txtSamples and presses enter, select a ddl in the gvSamples and the last column (icon that enables the selected row to duplicate the next row on)
i have never used the update progress
Please Help!