<asp:TemplateField> <ItemTemplate> <asp:DropDownList ID="ddlCLStatus" runat="server" AutoPostBack="true" CssClass="ddlblack" CausesValidation="false" OnSelectedIndexChanged="ddlCLStatus_SelectedIndexChanged" SelectedValue='<%# Bind("Status") %>'> <asp:ListItem Text="Pending" Value="P"></asp:ListItem> <asp:ListItem Text="Cleared" Value="C"></asp:ListItem> <asp:ListItem Text="Returned" Value="R"></asp:ListItem> <asp:ListItem Text="Clear All" Value="CA"></asp:ListItem> <asp:ListItem Text="Returned All" Value="RL"></asp:ListItem> <%--Added by Gaurav Sikarwar on 02-03-2015--%> </asp:DropDownList> </ItemTemplate> </asp:TemplateField>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)