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.
Sorry about that here it is.
I played around with this for a little bit and it appears that the only major difference between what we're doing and what you were doing in the sample is that we're using WCF RIA Services and an Entity Data Model for our data access. I updated your sample to access data in the same manner and I get the error. I've attached the updated sample. Unfortunately it's pointing to a view and stored procedure in one of our databases. If you need me to, I can try to switch this over to use the Northwind database but it might be a little complicated because there aren't any update stored procs in that database.
.... actually, I can't attach the file because it's 4.26 MB after zipping it and I can't upload anything larger than 200 kB. Is there some other way that I can get his to you?
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
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.
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.
The attachment seems to get removed. I think the Outlook take up to 3MB. Is there a way to reduce the size to 3MB?
Okay. Thanks. Sent...