Wednesday, 21 August 2019

Select multiple terms within one listbox asp c#

I would like to select a term from the dropdown and then select a color or value from the same term. For example, I want to select "Account Executive" and then select "red". Is there a jquery library already out there? Is it possible? It can also be a dropdown rather than the color.

enter image description here

This is how I populate the dropdown c#

  DataSet dsRoles = obj.ds("Role");
  ddlRole.DataSource = dsRoles ;
  ddlRole.DataTextField = "Term";
  ddlRole.DataValueField = "Term";
  ddlRole.DataBind();
  ddlRole.Items.Insert(0, new ListItem("== Select 1 Term ==", ""));

Asp

<asp:ListBox ID="ddlRole" AutoPostBack="false" runat="server" SelectionMode="Multiple"> 



from Select multiple terms within one listbox asp c#

No comments:

Post a Comment