Telerik RadGrid for SL2 (2009.2) - Issues with IEditableObject

Telerik RadGrid for SL2 (2009.2) - Issues with IEditableObject

Old forum URL: forums.lhotka.net/forums/t/7291.aspx


Jack posted on Thursday, July 16, 2009

Is anybody using Telerik's radGrid for SL2 and experiencing EditLevel issues when trying to save ChildLists?  I swapped from the standard MS datagrid to their grid in a few spots and I'm suddenly having issues saving.

I'm seeing the following behavior: 

1) click on a column twice to select column and then enter edit mode
2) I can see the call to IEditableObject.BeginEdit() (valid/expected)
3) I change my value
4) I click on a different row and IEditableObject.AcceptEdit() (valid/expected)
5) Immediately though IEditableObject.BeginEdit() fires on the same row (not expected)

The second call leaves my child EditLevel at 2 while everything else is still at 1

I'm also not seeing the calls to CancelEdit() if I don't make the change in step 3 although the BeginEdit does not fire a second time.

I can get around all that by using the DisableIEditable flag but it is a bit of a pain and it seems that the normal datagrid is working fine.

I have logged a ticket with them but just an FYI for anybody struggling or if someone has seen and gotten around that.

Thanks

jack

sergeyb replied on Friday, July 17, 2009

Yep, we found this issue and submitted it to Telerik a few weeks ago.  They fixed one of the problems in last Friday’s release, and admitted to having another one.  They said they will have it fixed at some point.

 

Sergey Barskiy

Principal Consultant

office: 678.405.0687 | mobile: 404.388.1899

cid:_2_0648EA840648E85C001BBCB886257279
Microsoft Worldwide Partner of the Year | Custom Development Solutions, Technical Innovation

 

From: Jack [mailto:cslanet@lhotka.net]
Sent: Thursday, July 16, 2009 9:06 PM
To: Sergey Barskiy
Subject: [CSLA .NET] Telerik RadGrid for SL2 (2009.2) - Issues with IEditableObject

 

Is anybody using Telerik's radGrid for SL2 and experiencing EditLevel issues when trying to save ChildLists?  I swapped from the standard MS datagrid to their grid in a few spots and I'm suddenly having issues saving.

I'm seeing the following behavior: 

1) click on a column twice to select column and then enter edit mode
2) I can see the call to IEditableObject.BeginEdit() (valid/expected)
3) I change my value
4) I click on a different row and IEditableObject.AcceptEdit() (valid/expected)
5) Immediately though IEditableObject.BeginEdit() fires on the same row (not expected)

The second call leaves my child EditLevel at 2 while everything else is still at 1

I'm also not seeing the calls to CancelEdit() if I don't make the change in step 3 although the BeginEdit does not fire a second time.

I can get around all that by using the DisableIEditable flag but it is a bit of a pain and it seems that the normal datagrid is working fine.

I have logged a ticket with them but just an FYI for anybody struggling or if someone has seen and gotten around that.

Thanks

jack


Jack replied on Friday, July 17, 2009

I got this back from them (as well as thanks we know and we'll fix it in our next internal release)

Normal 0 false false false EN-CA X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;} Fortunately there is a workaround right now. You can set ValidationMode property of RadGridView to Row.


Copyright (c) Marimer LLC