I have a WebDatGrid which contains data fields one of which may contain HTML codes. The grid displays these codes correctly. However after a row edit (using a row template) where an item is selected that contains HTML codes, the grid display does not show the symbol, instead it displays the code.
The attached image shows the three stages to reproduce the fault: 1) Initial display, 2) selecting an item that contains an HTML code and 3) the data grid after selection.
A full refresh of the screen causes the grid to display correctly so I am assuming that this is an AJAX issue.
I do have a current support contract with IG.
ASP.NET 20103.2134 CLR 4.0
Hi PaulShearing,
This may or may not be a bug. If you could get us a sample, we could try it over here. What I would try is to set HtmlEncode true and false on the column of interest and see if either of those values affects this behavior.
regards,David Young
Hello,
I had the same issue, using a simple text editable column.
With HtmlEncode=true, special characters (é,à,<,>...) are displayed correctly the first time.After edit and the AJAX update request, characters are "translated" > become >Refreshing the page, cause the characters display normally.
With HtmlEncode= false, characters are displayed correctly the first time. After update, it 's still normal. But when you return in edit mode, > is editable as >
So i assume there is a bug.
A similar issue occurs after AJAX update request on boundcheckboxfield, the checkbox of an updated row is displayed as "partial checked" instead of its real state....
Hi gvi,
As I asked PaulShearing, could you get us a small sample reproducing this for us to look at? This sounds like two different issues. Your checkbox one seems particularly odd. I assume you are using 11.1 for both scenarios? Is your checkbox bound to boolean data?
regards,
Dave
Hi Gregory,
The issue with the bound checkbox was actually a bug and has already been fixed. Its number is 81517. I believe it should go out with the August Service Release.
I will investigate the other issues and try to determine if they are a bug or not.
-Dave
UP !
Hi Dave,
Here's a sample. You can use the SQL Script folder to create Database objects.The form User.aspx show you thoses issues: the firstname column is htmlencode=true, and the lastnamecolumn is htmlencode=false.After updating a row you could see what appens, with those columns and the boundcheckbox column.
Moreover I add a form "Generic.aspx", which want to be a generic SQL table editor.You could see the 2 issues too and one more with the DropDownEditor, After the update the cell display the value instead of the Text.
Kind regards,
Gregory