BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
<ej:DropDownList ID="brandSelect" runat="server" DataIdField="ID" DataTextField="Text" ShowCheckbox="true"></ej:DropDownList>
<br />
Selected value after post back: <br />
<asp:Label runat="server" ID="lbl" ></asp:Label><br /> <%--label value updated after post back--%>
<asp:Button Text="PostBack" runat="server" ID="btn1" OnClick="btn1_Click" />
[CodeBehind.cs]
protected void btn1_Click(object sender, EventArgs e)
{
lbl.Text = "";
foreach (string val in brandSelect.Text.Split(','))
{
lbl.Text += val+" , "; // set the label text with selected items value
}
}
</code>
Download the sample prepared from the link below:
http://www.syncfusion.com/downloads/support/forum/119307/ze/DropDown_f119307-1200685286
Please let us know if you have any other queries.
Regards,
Ezhil S