Ok, so I have another question regarding this nested Grid on the user control I'm working with. How do I obtain the values in the text boxes for the Update and Insert?
So let me summarize and clarify, hopefully.
The big #1:
I have a Rad Grid control listing TableA. Upon Edit, it calls a UserControl. The user control has 4 data sources to bind radComboBoxes to values. 2 of these work great, finding their values like so:
| CountryValue = Eval("Country")
| Dim index As Integer = CountrySelect.FindItemIndexByValue(CountryValue)
| CountrySelect.SelectedIndex = index
2 of them, however, need to have a WHERE in their SQL statements:
| WHERE PrimaryID = " & DataKeyNameOfTheParentTable
I've tried the session parameters, doesn't seem to work or I'm calling for the wrong key. Any help here would be huge.
How do I access the values in the subGrid on the UserControl?