Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
385
WebDataGrid.RowUpdating: Can I define a column with separate ValueField and TextField values?
posted

I don't think the ValueField and TextField properties exist for the BoundDataField element, but I want to do something like this:

I have a WDG with a DropDownProvider. I've defined that ValueField and TextField properties on the DDP so it shows text to the UI, but has numeric values that the text represent.

My problem occurs when I bind my WDG. The row's value defaults to the text representation of the data. It's causing the RowUpdating event to fire even if I don't change the drop down value because in the background the rows value is being changed to the numeric.

Am I making sence?

 

Parents Reply Children
No Data