I am developing in Visual Studio 2012. I am using WebDataGid version 12.2 in a project.
The problem I am about to describe does not seem to be browser dependant. It happens in IE and Chrome.
I created this project to pratice working with the webdatagrid. It is a simple set of address records. Name, Address, City, State, Zip, etc.
I have the grid working properly as far as the CRUD methods. I can insert, update and delete records with no problem. However, an unusual visual effect occurs after I update any given row.
I click on a cell, in a row, and make it active using the F2 key or double-clicking. At this time the entire row is highlighted. After changing information in the selected cell, I tab to commit the change to the cell. Now the cell to its right has the focus recticle around it. So far so good. Now, to commit the cell/row change to the database I down arrow to the next row in the grid
The record is saved to the database, and the focus recticle moves to the appropriate cell in the row after the one just saved. The selector column for the new row is now highlighted. Again, good so far. However, a second after the new row is selected, the row above (the one that was just updated) gets highlighted again. Its not really selected, just highlighted. Any input I make at this point is directed to the next row
So, the row I just updated is highlighted again, and the next row below it has its selector column highlighted and seems to have proper input focus.
Any thoughts?
Hi hogleg,
Thanks for posting in our forums!
I attempted to reproduce this in a simple test sample and have not been able to see this behavior.
This raised a few questions I would like to know more about. Could you please tell me a little more information about this issue?
1.) What properties and behaviors do you have set on the grid? From your post, I can already assume you have Cell Editing, Selection, and Activation enabled.
2.) Do you have the WebDataGrid in an UpdatePanel? If so, what do you have the EnableAjax property of the WebDataGrid set to?
3.) What is the DOCTYPE you are using on the page?
4.) Any other information you have readily available that would help me reproduce this issue would be helpful.
Looking forward to hearing from you.
I am trying to paste page markup to send to you but anything I paste using code blocks or pre tags looks horrible. How can I show you my page markup and code behind? This would answer all your questions plus some. This is a sample project, so there is no proprietary data involved.
To answer your immediate questions - yes the grid is in an update panel. I have enable ajax set to false. The doctype is "html". As far as options it would be helpfull to show you the markup.