i’m currently working on an aspx website wherein I am using an ASPxGridView control. I am able to show up data on my GridView the way I want it to appear. However, my problem occurs when I click on the Edit button (provided by the control itself under a Command Column). After clicking the said button, the GridView would change the row to an editable one. However, I can’t change the values inside the textboxes. Please note that I have already set the ReadOnly Property to false both on the GridView’s smart tag and on the xml source itself.
I tried to create a test flag wherein the textbox’s backcolor would change to blue whenever the ReadOnly property is set to true. After running the program, the textbox would be colored in blue whether the ReadOnly is set to true or false.
Are there any other properties that would help me make these textboxes editable? Thanks a lot!
Cheers!
I just ran into this same problem today. This symptom can appear if you’re setting your datasource to an anonymous type:
The fix was to create a class for the grid to use. It was then able to figure out the data types for each cell, and they turned editable in the UI: