<asp:GridView ID="gvChallan" runat="server" AutoGenerateColumns="False" CellPadding="3" HorizontalAlign="Center" BackColor="White" BorderColor="#CCCCCC" Font-Size="Small" BorderStyle="None" BorderWidth="1px" ShowFooter="True" Width="950px" > <columns> <asp:TemplateField HeaderText="Product Name"> <itemtemplate> <asp:DropDownList ID="drpproduct" Width="200px" runat="server" DataValueField="PName" onselectedindexchanged="drpproduct_SelectedIndexChanged" AutoPostBack="true" > </itemtemplate> <HeaderStyle Width="200px" /> <asp:TemplateField HeaderText="Sub Item"> <itemtemplate> <asp:UpdatePanel ID="Upsubitem" runat="server" UpdateMode="Conditional" RenderMode="Inline"> <Triggers> <asp:AsyncPostBackTrigger ControlID="drpproduct" EventName="TextChanged" /> </Triggers> <contenttemplate> <asp:DropDownList ID="drpsubitem" Width="200px" runat="server" DataValueField="BName" onselectedindexchanged="drpsubitem_SelectedIndexChanged" AutoPostBack="true" > </contenttemplate> </itemtemplate> <HeaderStyle Width="200px" /> <asp:TemplateField HeaderText="Quantity"> <itemtemplate> <asp:UpdatePanel ID="upqty" runat="server" UpdateMode="Conditional" RenderMode="Inline"> <Triggers> <asp:AsyncPostBackTrigger ControlID="drpproduct" EventName="TextChanged" /> </Triggers> <contenttemplate> <asp:TextBox ID="txtquantity" runat="server" MaxLength="5" CssClass="textb" Width="70px" OnTextChanged="QtyChanged" AutoPostBack="true" > </contenttemplate> </itemtemplate> <HeaderStyle Width="70px" /> <asp:TemplateField HeaderText="Unit"> <itemtemplate> <asp:UpdatePanel ID="upUnit" runat="server" UpdateMode="Conditional" RenderMode="Inline"> <Triggers> <asp:AsyncPostBackTrigger ControlID="drpproduct" EventName="TextChanged" />
txtrate
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)