How to render the CheckBox in the ordered list or un-ordered list or table or in a flow? In case we want to render the CheckBoxes in the ordered list (numbering) or un-ordered list (bullet
list), we can use this approach.
|
Yes
|
How to render the CheckBoxes and specify the vertical and horizontal direction? In case we want to render CheckBoxes in vertical or horizontal direction, we can use this approach.
|
Yes
|
How to add items in the CheckBoxList & how to add items from the code-behind? It is similar to the DropDownList control, please refere to the DropDownList section.
|
Yes
|
How to populate a DropDownList based on another DropDownList selected value? In case we want to populate another DropDownList or ListBox based on the item selected from the first DropDownList or ListBox, we can use this approach.
|
Yes
|
How to write “Please select …” as the first item in the DropDownList/ListBox while populating them from the server side? In case we want first item of the DropDownList or ListBox as “Please select …” while populating the
items from the server side, we can use this approach.
|
Yes
|
How to avoid appending the new items in the DropDownList or ListBox on top of the existing items? In case we are appending items into the DropDownList or ListBox from the server side and that item
is getting appended at the beginning but we want it to appear at specified location, we can use this
approach.
|
Yes
|
How to auto select an item from the DropDownList? In case we want to automatically select an item from the DropDownList or ListBox when the page
loads we can use this approach.
|
Yes
|
How to iterate (loop) through the items of the DropDownList or ListBox and find the selected item(s)? In case we want to iterate through all items of the DropDownList or ListBox and/or find selected
items, we can use this approach.
|
Yes
|
How to provide option to the user to select multiple items from the ListBox? In case we want to provide option to the user so that he/she will be able to select more than one
item from the ListBox control, we can use this approach.
|
Yes
|
How to retrieve the selected value & text of the DropDownList/ListBox item? In case we want to retrieve the selected item text or value from the DropDownList or ListBox control
we can use this approach.
|
Yes
|
How to specify the number of items to appear in the ListBox? In case we want to specify a certain number of items to appear in the ListBox, we can use this
approach.
|
Yes
|
How to fire a server side event when the selected item of the DropDownList/ListBox changes? In case we want to execute a server side method when selected item from the DropDownList or
ListBox changes, we can use this approach.
|
Yes
|
How to insert an item to the specified location in the DropDownList or ListBox? In case we want to add an item in the DropDownList or ListBox at a specified index (location), we can
use this approach.
|
Yes
|
How to add items in DropDownList/ListBox from the server side? In case we want to add items into the DropDownList or ListBox dynamically from the server side, we
can use this approach.
|
Yes
|
How to populate DropDownList/ListBox from the server side using a DataSource? In case we want to populate the DropDownList or ListBox from the server side using a DataSource
we can use this approach.
|
Yes
|
How to render a DropDownList/ListBox through asp.net and add items? In case we want to display a multiple items in the DropDown or ListBox, we can use this approach.
|
Yes
|
How to apply CSS from server side to the link? Use the same approach as explained for the asp:Button control above.
|
Yes
|
How to open a page in new browser window or tab when clicking on the link? In case we want the web page to open in a new browser window or tab on clicking of the link we can
use this approach.
|
Yes
|
How to avoid using asp:Hyperlink completely on my page without compromising the flexibility of controlling the redirect url? In case we want to avoid asp:HyperLink control on the page (generally for performance reason) but
want to maintain the flexibility that comes with the asp:HyperLink control, we can use this approach.
|
Yes
|
How to remove the border that by default comes when an image is specified as Hyperlink using asp:HyperLink control? In case we are using asp:Hyperlink control to convert an image into a link and want to remove the
image border, we can use this approach.
|
Yes
|