This is a migrated thread and some comments may be shown as answers.

RadDataform changes from edit mode to read only mode upon scroll move

4 Answers 79 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vaishali
Top achievements
Rank 1
Vaishali asked on 15 May 2013, 10:00 AM
I have a radGridview and a radDataform in its details.Raddataform is quite large so that when radgridview scroll moves down then raddataform changes its mode from edit to readonly.Initially, the Raddataform is in edit mode.
Why is this happening , i do not know.Please suggest something on this issue.
Thanking You in advance.

4 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 17 May 2013, 01:32 PM
Hello Vaishali,

Could you take a look at the sample attached and let me know how I can update it so that it reproduces the behavior you experience on your side ?
Thanks in advance. 

All the best,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Maya
Telerik team
answered on 17 May 2013, 02:56 PM
Hi Vaishali,

Actually, there is one case where similar behavior can be reproduced - when you scroll down so that the whole data form is not in the view port (as you described in your other ticket on the same topic - 693371). However, in this case it would be expected since each row that has gone out of the view port and is recycled by the grid (as every other virtualized control would do). Consequently, when you scroll back to that row, its parts - cells, borders, row details elements are recreated. And as the default behavior of RadDataForm is to be in read-only mode, you see it that way.

Greetings,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Vaishali
Top achievements
Rank 1
answered on 20 May 2013, 03:58 AM
Yes, you are correct.Due to this recreation of view, it is changing it's edit mode to default readonly mode.
Anyways, I had found one solution for this by setting enablerowvirtualization  and enablecolumnvirtualization to false so that it will not recreate each row.However, application hangs/crashes(no records are displayed).
Is there any other solution for this.
0
Maya
Telerik team
answered on 20 May 2013, 02:57 PM
Hi Vaishali,

Generally, turning off the virtualization is not suggested as it will lead to degraded performance if you have a lot of items to load. What might work in this case is to find the data form once you scroll up and call its BeginEdit() method.  

Greetings,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
General Discussions
Asked by
Vaishali
Top achievements
Rank 1
Answers by
Maya
Telerik team
Vaishali
Top achievements
Rank 1
Share this question
or