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

[Solved] Validation for table with edit form

3 Answers 93 Views
Grid
This is a migrated thread and some comments may be shown as answers.
DS
Top achievements
Rank 1
DS asked on 14 Jan 2010, 08:19 AM
Hello,
I have a grid with master table and detail tables (on one level).

For one of the detalil tables I used an edit form, I get an exception on the following line:

 

 

Dim

 

editor As GridColumnEditorBase = CType(item.EditManager.GetColumnEditor(strFieldName), GridColumnEditorBase)

 

 

The exception is:
The current EditFormType does not support the requested editing capabilities.

Any suggestions?

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 14 Jan 2010, 10:25 AM
Hello Avi,

I suggest you try setting EditFormType property of the Grid to AutoGenerated as shown in the code snippet bellow and let me know if the issue still persist.

ASPX:
<EditFormSettings EditFormType="AutoGenerated" >  
                    </EditFormSettings>

I hope this helps.

All the best,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
DS
Top achievements
Rank 1
answered on 14 Jan 2010, 10:51 AM
I'm sorry I omitted this information on the first post, I am using a user control for this edit form....
So I have: EditFormType="WebUserControl" already in EditFormType.
0
Pavlina
Telerik team
answered on 14 Jan 2010, 02:34 PM
Hello Avi,

Unfortunately, the provided information is not enough to determine the exact source of the issue you are facing. Could you please try sending the problematic page code? You can open a formal support ticket where you could attach files.
Then I could check it out and see what could have gone wrong and how to solve it.

Best wishes,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
DS
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
DS
Top achievements
Rank 1
Share this question
or