Hi, im using C# and linq
I have to store the values of the selected items from my RadComboBoxes into a database.
I have a form with 15+ comboBoxes which get populated from the database on_load, i also have a "Save" button that should be saving selectedValues of those boxes into another database. When i enter the "Click" event for my "Save" button i do not have access to any of the comboBox objects.
And when i say i do not have access to the object,i have a Box with the ID="cboAccount", i cannot call cboAccount.SelectedValue for example.
So i tried the following just to check if i could get access to the selected values
but once the message displays the message is blank.
I already know how to insert data into a database with linq i just need to know how can i access the actual ComboBox Objects and the selected values so i can insert the data into the database.
thanx
I have to store the values of the selected items from my RadComboBoxes into a database.
I have a form with 15+ comboBoxes which get populated from the database on_load, i also have a "Save" button that should be saving selectedValues of those boxes into another database. When i enter the "Click" event for my "Save" button i do not have access to any of the comboBox objects.
And when i say i do not have access to the object,i have a Box with the ID="cboAccount", i cannot call cboAccount.SelectedValue for example.
So i tried the following just to check if i could get access to the selected values
RadComboBox oops = new RadComboBox();oops.ID = "cboAccount";Response.Write("<script language='javascript'>alert('" + Server.HtmlEncode(oops.SelectedValue) + "')</script>");but once the message displays the message is blank.
I already know how to insert data into a database with linq i just need to know how can i access the actual ComboBox Objects and the selected values so i can insert the data into the database.
thanx