I have grid with RowEditingTemplate, on this grid rows have value as a number(701) and text as a string(Search). How I can set text value on RowEditingTemplate?
Now grid cell has text "Search", but TextBox1 has value "701".
<aspigtbl:RowEditingClientBinding ColumnKey="TransID" ControlID="TextBox1" GetValueJavaScript="$get({ClientID}).value" SetValueJavaScript="$get({ClientID}).value={value} == null ? '' : {value}" />
hey Anton,
I am not sure I understand the scenario very well. Would you like to have something like this in the row edit template:
<Label> : <value, such as 701>
Do you mean that all your grid cells display "Search", when they are bound to TransID (which is a number)?
The binding you have above basically takes the values of TransID. Could you show me your ASPX for the WebDataGrid, I will be able to give you more feedback after that
thank you
Angel
Let me know if you need any additional help with this scenario. Thanks,
Thanks, I found solution.