Top "Selectedvalue" questions

Setting SelectedValue of a data bound DropDownList

I have an asp.net dropDownList which is automatically bound to a sqlDataSource to values of client type on page …

c# asp.net drop-down-menu selectedvalue databound
Should I use a Winforms combobox's SelectedItem, SelectedText, or SelectedValue?

I want to pass a value in a combo box as a param to a SQL statement. The Winforms combobox …

winforms combobox selecteditem selectedvalue selectedtext
How to get selected row of detail grid in Master-Detail GridView?

I'm having a problem on getting the selected rows values of a detail grid. I have master-detail grid in a …

devexpress master-detail aspxgridview selectedvalue
On Post, a drop down list SelectList.SelectedValue is null

My model is as follows: public class testCreateModel { public string s1 { get; set; } public SelectList DL { get; set; } public testCreateModel() { …

asp.net-mvc-3 razor drop-down-menu null selectedvalue
RadComboBox selected value is empty

I get the SelectedValue = "" when i click on My button . My aspx : <telerik:RadComboBox ID="ddl_contactList" runat="server" …

c# asp.net telerik selectedvalue radcombobox
Get DataGridViewComboboxColumn SelectedValue (VB.Net)

I need to get the selected value of a ComboBox in a DataGridView. I have it partially working, but I …

vb.net reference null selectedvalue datagridviewcombobox
Check if Checkbox is checked based on name

This is my code and it always returns "nothing is checked" no matter if something is checked or not. function …

javascript jquery checkbox drop-down-menu selectedvalue
Gridview EditItemTemplate DropDownList Get SelectedValue

In my Gridview I have the following template field: <asp:TemplateField HeaderText="Dept Code" SortExpression="DeptCode"> <ItemTemplate&…

c# asp.net gridview selectedvalue edititemtemplate
SelectedValue of DropDownList in Repeater

How do I set the selected item of a dropDownList inside a repeater? The repeater is bound to the repeaterData …

asp.net data-binding repeater asp.net-3.5 selectedvalue
Retain Selected Value of dynamically bound dropdownlist after postback

I have a dropdownlist which I declare on the aspx markup like so: <asp:DropDownList ID="State" runat="server"&…

asp.net drop-down-menu selectedvalue