We've noticed that even those cells that are set as "IsReadOnly" in a xamGrid are still selectable. If I edit a cell and then hit the tab key, I want the next editable cell to be active. So I've added some ActiveCellChanged code that finds the next editable cell in the row and sets the IsActive property to true. This seems to work pretty slick except... If I edit one cell, hit tab (IsActive is set for the next editable cell) and then edit this next cell, once I leave the grid I get an error stating that "The entity is currently read-only". I'm not sure why. If I use the mouse to select the next editable cell, the update works fine.
Hello,
I tried to recreate this issue you are having but was unsuccessful. I have attached the sample I used to simulate your solution setting the IsActive property. Please test this project on your PC; whether or not it works correctly may help indicate the nature of this problem. If the project does not work correctly, this indicates either a problem possibly specific to your environment, or a difference in the DLL versions we are using. I tested this solution using NetAdvantage 2010 Vol 3 (build 1006 & 2159).
If the project does show the product feature working correctly, this indicates a possible problem in the code of your application. It will help if you can provide a small, isolated sample application that demonstrates the behavior you are seeing.
Or, if this sample project is not an accurate demonstration of what you're trying to do, please feel free to modify it and send it back, or send a small sample project of your own if you have one.
Thanks,
Valerie
Thanks, but I don't see an attached sample.
Brian,
Please send your sample to support@infragistics.com and in the subject line specify 'Sam'. I will pick it up, test it and will follow up with you.
Thank you,Sam
Okay. Thanks. Sent...
The attachment seems to get removed. I think the Outlook take up to 3MB. Is there a way to reduce the size to 3MB?
I've sent a new one. It's not easy to get the project that small since the edmx is so large (even with very little in it) but I've trimmed as much fat as I can.
Outlook has removed it again. I have created a case for you. When you receave an email notification, attach the sample to the case - make sure the file is zipped. I think it's better this way.