TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
User107
NA
28
17.6k
show large selected item names textscaption dropdowncheckbox
Sep 19 2016 4:22 AM
In my web application, i have many dropdowncheckboxes but i need to display what i select all the items i need to show on the dropdowncheckboxes of the texts caption box.when i select small items names it shows perfectly.It will not show properly by selecting the large item names on texts caption box. i want to show large item names properly. when i select that large items and select by mouse those names and move arrows buttons (keyboard keys) on texts caption of dropdowncheckboxes it will show all the names without change the dropdowncheckboxes width is it possible to do.<br /><br />aspx:<br /><br /><%@ Register Namespace="Saplin.Controls" Assembly="DropDownCheckBoxes" TagPrefix="asp"%><br /><asp:DropDownCheckBoxes ID="dropdown1" runat="server" UseSelectAllNode="true" <br />UseButtons="true" OnSelectedIndexChanged="dropdown1_SelectedIndexChanged" AutoPostBack="true"><br /><Style DropDownBoxBoxWidth="200"/> </asp:DropDownCheckBoxes> <br /><br />.CS:<br /><br />protected void dropdown1_SelectedIndexChanged(object sender, EventArgs e) <br />{<br /> List<String> checkedList = new List<string>();<br /> foreach (ListItem item in dropdown1.Items) <br />{ <br />if (item.Selected)<br /> { <br /> checkedList.Add(item.Text);<br /> }<br /> } <br />dropdown1.Texts.SelectBoxCaption = String.Join(",", checkedList);<br />}<br /><br />how can i do this can anyone please help me<br />Thank you <br />
Reply
Answers (
4
)
Read Id from URL
Regular Expression for mobile number