Users Pricing

forum

Home Forums ListView DropDownList Edit ListView – MindStick

ListView DropDownList Edit ListView

Anonymous User 2290 23 Aug 2014

I have created a ListView that has editing enabled, the wizard generated the table with the use of textboxes but i require the use of dropdown lists for some options.

I have created the dropdown list

 <asp:DropDownList ID="ActionStatusTextBox" runat="server">
                    <asp:ListItem Value="Ongoing">Ongoing</asp:ListItem>
                    <asp:ListItem Value="Open">Open</asp:ListItem>
                    <asp:ListItem Value="Closed">Closed</asp:ListItem>
 </asp:DropDownList>

The drop down list generates successfully but doesn't submit and enter itself in the databse.

<%# Bind("ActionStatus") %>'

The above snippet needs to used somewhere in order to bind the data but which parameter does it need attaching to to pass the data?

I've tried everything and its giving me a right headache!

Thanks


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md