G
Guest
Hi I want to have an editable text box in datalist but whitout forcing user to click edit or add button to see the text bo
I use textbox in my datalist but its not editable why
<ItemTemplate><asp:CheckBox Visible="False" ID="cbCalculate" Runat="server" AutoPostBack="True"></asp:CheckBox><%# DataBinder.Eval(Container.DataItem, "PartNo") %><asp:TextBox ID="Txt_"+<%# DataBinder.Eval(Container.DataItem, "PartNo") %> TextMode=SingleLine>sss</asp:TextBox></ItemTemplate>
I use textbox in my datalist but its not editable why
<ItemTemplate><asp:CheckBox Visible="False" ID="cbCalculate" Runat="server" AutoPostBack="True"></asp:CheckBox><%# DataBinder.Eval(Container.DataItem, "PartNo") %><asp:TextBox ID="Txt_"+<%# DataBinder.Eval(Container.DataItem, "PartNo") %> TextMode=SingleLine>sss</asp:TextBox></ItemTemplate>