I have a need to sense (event?) when a date cell is changed from a date to null. The way I'm changing from a date to null is: 1) Select the cell (the column is always in edit mode). 2) Press the Delete key.
I would also like to sense any time a Date changes.
Hello,
I am just checking if my last reply was helpful for you.
If you require any further assistance please do not hesitate to ask.
Hi Yanko,
As you can tell, I'm new to using the XamGrid.
If it's too much trouble, disregard my request for a Silverlight 4 version of your last sample. I think I got the gist of it by looking at the source code: looks like you declared a handler for the DatePickerTextBox's KeyUp event by setting it within the Style's xaml. Is there a reason you did it that way instead of declaring it in code? The reason I ask is that I see in the documentation of the DatePicker's Members an event named KeyUp. Is there a way I can use that instead of having to go in and modify the control's Style?
Please bear with me, I'm just trying to get a better understanding of how the Grid works and how to work with the Grid.
I think I can accomplish my objective using the SelectedDateChanged event or maybe I should use the LostFocus event because I'm thinking maybe that's when the change actually is committed. How can this be implemented? Do I have to modify the DatePicker's template?
Is there a document, white paper, walkthroughs or anything else you can recommend for gaining a more in depth understanding of XamGrid. The documentation is good, but I feel a need for something maybe at a higher level that pulls it all together and gives a more conceptual understanding of why (or, at least how)things work the way they do.
Any additional insight will be greatly appreciated.
Thanks,
Joe
Sorry for the delay, but I've been side tracked on some other issues.
I'm ready to get back on this today.
Could I impose on you to please resend your sample configured for VS2010 Silverlight 4? Unfortunately, we're stuck on Silverlight 4 for a good while yet. It's not by my choice, I'd love to move to Silverlight 5. It takes a while to get some of our customers to upgrade.
Thank you,