Hi guys,
A few things things I've noticed in the demo asp.net mvc kendo ui solution with the grid.
1. When using ajax as the communication method and GridEditMode.Popup the window that pop's up will not close.
2. When using server editing as the communication method and GridEditMode.Popup the popup window always puts itself below the grid rather than centering itself on the screen as the ajax one does. I also have it as being selectable and the row selected is deselected when it posts back and popups up the window which makes it hard to know which row i'm editing.
3. I've also had no success getting the editing in either of these grid editing modes to have a datetimepicker / datetime property on my view model that is a nullable datetime recognised as being nullable. They keep insisting to have an entry so any help there also would be awesome. I've put in a EditorTemplate specifically for the popup window and that's showing fine its just not realising that its ok not to have a datetime in the nullable property.
4. Whilst I"m here.. I also put a html input button in the grid popup template that is called "Now" and using javascript it puts the current datetime into the datetime textbox when pressed. In the ajax version of the grid this works the first time the popup window is used but does not work on subsequent editing. When used with the server grid version it works every time. I'd much rather use the ajax one as its quicker, and more user friendly but at this stage its not working as expected so causing me (see point 1 and this point.)
All of this behaviour except point 4 can be seen in the demo solution you provide, just adjust the properties as described above, but you can easily inc the LastSupply datetime in the demo so you have a datetime in the grid.
Cheers,
Mark
A few things things I've noticed in the demo asp.net mvc kendo ui solution with the grid.
1. When using ajax as the communication method and GridEditMode.Popup the window that pop's up will not close.
2. When using server editing as the communication method and GridEditMode.Popup the popup window always puts itself below the grid rather than centering itself on the screen as the ajax one does. I also have it as being selectable and the row selected is deselected when it posts back and popups up the window which makes it hard to know which row i'm editing.
3. I've also had no success getting the editing in either of these grid editing modes to have a datetimepicker / datetime property on my view model that is a nullable datetime recognised as being nullable. They keep insisting to have an entry so any help there also would be awesome. I've put in a EditorTemplate specifically for the popup window and that's showing fine its just not realising that its ok not to have a datetime in the nullable property.
4. Whilst I"m here.. I also put a html input button in the grid popup template that is called "Now" and using javascript it puts the current datetime into the datetime textbox when pressed. In the ajax version of the grid this works the first time the popup window is used but does not work on subsequent editing. When used with the server grid version it works every time. I'd much rather use the ajax one as its quicker, and more user friendly but at this stage its not working as expected so causing me (see point 1 and this point.)
All of this behaviour except point 4 can be seen in the demo solution you provide, just adjust the properties as described above, but you can easily inc the LastSupply datetime in the demo so you have a datetime in the grid.
Cheers,
Mark