i having agrid view and a drop down box inside the updatepanel
when i select an item from the drop down the grid have to get filter...this is working for me
then also i hav a image button in the gridview template field ...when i click the imagebutom i ll generate new row in the grid
dusing the first page load it working well
when i select the dropdown it ll populate the new data again in the grid ...now the image button was not working ..and not firing the rowCommand event ...
i tried this inside 2 diff update panel,,,without update pannel ,,with one update panel ..but it was not working
also i tried by using async triggers inside the update pannel triggers ..no use in that
please help me ...here i posted the aspx code for this page
code snipshot
--------------------------------------------
<div class="pageHeader">
<div class="caption">
<h1>
<asp:Localize ID="Caption" runat="server" Text="Shipping Export"></asp:Localize></h1>
</div>
</div>
<input type="file" runat="server" id="file1" style="display: none" />
<div style="margin-left: 4px; margin-right: 4px;">
<asp:HiddenField ID="hdnFilePath" runat="server" />
<table cellpadding="2" cellspacing="0" class="innerLayout">
<tr>
<!-- SEARCH By Criteria -->
<td style="padding: 10px 2px 10px 0px; width: 250px; vertical-align: top; text-align: left;">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Panel ID="SearchPanel" runat="server" CssClass="section" EnableViewState="false">
<div class="header">
<h2 class="searchthiscategory">
<asp:Localize ID="SearchCaption" runat="server" Text="Search Criteria" EnableViewState="false"></asp:Localize></h2>
</div>
<div class="content">
<table cellpadding="4" cellspacing="0" class="inputForm">
<tr>
<td colspan="6">
<asp:Panel ID="BasicSearchPanel" runat="server">
<asp:Localize ID="BasicSearchHelpText" runat="server" Text="Set the criteria below, then click <b>Search</b> to filter the order listing. To provide more specific criteria, try the "></asp:Localize>
</asp:Panel>
</td>
</tr>
<tr>
<th class="rowHeader">
<asp:Label ID="StatusFilterLabel" runat="server" Text="Status:"></asp:Label>
</th>
<td>
<asp:DropDownList ID="drpStatusFilter" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drpStatusFilter_SelectedIndexChanged">
<asp:ListItem Text="select" Value="4" Enabled="false"></asp:ListItem>
<asp:ListItem Text="ALL" Value="0"></asp:ListItem>
<asp:ListItem Text="Already Shipped" Value="3"></asp:ListItem>
<asp:ListItem Text="Already Exported" Value="2"></asp:ListItem>
<asp:ListItem Text="Not Yet Created" Value="1"></asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<th class="rowHeader">
<asp:Label ID="PaymentStatusFilterLabel" runat="server" Text="View By:"></asp:Label>
</th>
<td>
<asp:DropDownList ID="drpViewFilter" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drpViewFilter_SelectedIndexChanged">
<asp:ListItem Text="select" Value="2" Enabled="false"></asp:ListItem>
<asp:ListItem Text="Group-By View" Value="0"></asp:ListItem>
<asp:ListItem Text="Default View" Value="1"></asp:ListItem>
</asp:DropDownList>
</td>
</tr>
</table>
</div>
</asp:Panel>
</ContentTemplate>
</asp:UpdatePanel>
</td>
<!-- SEARCH By Criteria END -->
<!-- Grid Resultant Order Items -->
<td style="padding: 10px 0px 10px 0px; vertical-align: top; text-align: left;">
<div class="section">
<div class="content">
<!-- Main Grid for All Order Items -->
<table cellpadding="4" cellspacing="0" width="100%">
<tr>
<!-- Error -->
<div id="divErrorNew" runat="server" class="error" style="display: none">
<img src="../../images/error_icon.jpg" style="float: left; padding-left: 5px;" />
<div id="divError" runat="server" class="errorIn">
</div>
</div>
</tr>
<tr>
<td style="vertical-align: top; text-align: right;">
<asp:Button ID="Button1" Text="Export CSV" OnClick="ExportCSV_Click" runat="server" />
</td>
</tr>
<tr>
<td>
<!-- Group By Grid for already Shipped and Exported -->
<div id="div_GrbBy" runat="server">
<table cellpadding="4" cellspacing="0" width="100%">
<tr>
<td>
<ajax:UpdatePanel ID="SearchResultAjax" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:GridView ID="gridNotExported" runat="server" SkinID="PagedList" Width="100%"
AllowPaging="false" AutoGenerateColumns="False" DataKeyNames="OrderId" OnRowCommand="gridRowCommand"
OnRowDataBound="gridDataBound" OnSorting="gridNotExported_Sorting">
<Columns>
<asp:BoundField DataField="OrderId" HeaderText="OrderID" ItemStyle-HorizontalAlign="Center"
ItemStyle-Width="50px" SortExpression="OrderId" />
<asp:BoundField DataField="Customer" HeaderText="Customer" ItemStyle-HorizontalAlign="Center"
ItemStyle-Width="100px" />
<asp:TemplateField HeaderText="Weight">
<ItemStyle HorizontalAlign="Right" Height="30px" Width="100px" />
<ItemTemplate>
<asp:TextBox ID="grdTxtWeight" value="0" Text='<%#Bind("Weight") %>' runat="server"
Width="50px" OnKeyDown="isNumeric(event)"></asp:TextBox>
<asp:Label ID="grdLblWeight" Text='<%#Bind("Weight") %>' runat="server" Visible="false"></asp:Label>
<label>
Kg</label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Insurance">
<ItemStyle HorizontalAlign="Left" Height="30px" Width="100px" />
<ItemTemplate>
<table>
<tr>
<td style="width: 50px">
<label>
$</label>