4 Answers, 1 is accepted
0

Murilo
Top achievements
Rank 1
answered on 07 Jul 2011, 02:26 PM
I manage to remove the EditForm by setting this property to the radgrid:
<
MasterTableView
EditFormSettings-EditFormType
=
"Template"
>
But i dont think this is the better approach to make as it still shows the ajaxpanel and is doing some kind of process to show it.
Thanks
0

Murilo
Top achievements
Rank 1
answered on 12 Jul 2011, 02:41 PM
Hi, i would appreciate an answer in this case as the testers are experiencing heavily issues with this.
0
Hello Murilo,
If you want to disable the editing of the grid, I suggest that you handle the ItemCommand event in the following way:
If this is not the desired functionality, please elaborate more on your scenario and on what you want to achieve.
Best wishes,
Mira
the Telerik team
If you want to disable the editing of the grid, I suggest that you handle the ItemCommand event in the following way:
void
RadGrid1_ItemCommand(
object
sender, GridCommandEventArgs e)
{
if
(e.CommandName == RadGrid.EditCommandName)
{
e.Canceled =
true
;
}
}
If this is not the desired functionality, please elaborate more on your scenario and on what you want to achieve.
Best wishes,
Mira
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
0

Murilo
Top achievements
Rank 1
answered on 12 Jul 2011, 05:01 PM
i think the solution you gave will work properly as i will implement it in a class and inherit it in my view forms.
Thank you.
Thank you.