When you set e.Editor.Value on CellEditorInitialize event in a ASPxGridView and the Column PropertiesTextEdit is set to Password="True" and UnboundType="String" the value is not shown .
Actual Results:
The textbox is shown empty
Expected Results:
The textbox must have the value set in the CellEditorInitialize event
PropertiesTextEdit and password
Answers
Hi Alvaro:
his behavior is by design. We've implemented it to fix the Q144772 bug. In earlier versions, the password that was set on the server side was visible in the page source in the browser. Thus, it was possible to compromise the password.
Now, there's no way to set a text for a standalone textbox or the GridViewDataTextColumn editor on the server side, but it is possible to do this on the client. For example, use the CustomJSProperties event handler of the ASPxTextBox to pass the required text on the client side and set it for the editor using the SetText method. Also, you can implement another client-side solution that is most acceptable for your project.
Thanks
Kate.