Last post Nov 23, 2017 06:22 AM by Cathy Zou
Nov 20, 2017 04:11 AM|shsu|LINK
Dropdownlist inside the grid view is returning the first letter of the text. For example Lowest is the selected value od dropdownlist (UiDropDownListProcessType) then it will show only 'L'
Private Function PopulateCharacteristicsDetail() As DataSetMsaDetail.MSA_CHARACTERISTICSDataTable
Dim characteristicsDT As New DataSetMsaDetail.MSA_CHARACTERISTICSDataTable
Dim characteristicsRow As DataSetMsaDetail.MSA_CHARACTERISTICSRow
For Each gvr In Me.UiGridViewCharacteristics.Rows
characteristicsRow.PROCESS_TYPE = CType(gvr.FindControl("UiDropDownListProcessType"), DropDownList).SelectedValue
characteristicsRow.UOM = CType(gvr.FindControl("UiTextBoxMeasurement"), TextBox).Text
Nov 23, 2017 06:22 AM|Cathy Zou|LINK
As far as I known, DDL have Text and Value property. For you problem, I suggest yo could to check If your DDL bind different filed for text and value property,
e.g: "Lowest" for Value property and "L" For Text property.
Besides, it seems that you use Telerik UI control in your page, if that the case, I suggest you could post your problem on it s forum
For Telerik UI control is third control for us.
Thank you for understanding.