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

[Solved] Ajax Binding - Validation Message Displayed for a Non Required Field

1 Answer 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Neena
Top achievements
Rank 1
Neena asked on 11 Feb 2011, 12:55 AM
Hi,

CAN WE HAVE TWO TELERIK GRIDS USING AJAX BINDING AND IMPLEMENTING SIMILAR FUNCTIONALITIES IN THE SAME PAGE?

I am using Ajax Binding for Editing as from the Demo and trying to implement Insert, Update and Delete Functionalities using PopUp for TWO Similar Grids on the same View.

When I edit the First Grid and click 'Update' button, I am having issue with the first Grid's Not Nullable Boolean field. Eventhough, I have not defined the [Required] for that Boolean Property named 'IsDefault', it still shows a Validation Message saying 'The IsDefault field is required'. I don't have any clue where this Validation Message is generated from.

If I enter a Custom Validation Message for the 'IsDefault' field say, 'The 'IsDefault' field is not a required field' then the previous default validation message is overridden by this one and when I click 'Update', then the Custom Validation Message 'The 'IsDefault' field is not a required field' is shown.

And when I REMOVED THE SECOND GRID from the page, the 'IsDefault' field WORKS as Expected.

PLEASE I NEED SOME HELP...

CAN'T WE HAVE TWO TELERIK GRIDS IMPLEMENTING THE SAME FUNCTIONALITY USING AGAX BINDING?

Or Is there a work around to resolve this Issue.

TELERIK TEAM, PLEASE PROVIDE SOME HELP!

Thank you,
Neena

1 Answer, 1 is accepted

Sort by
0
Mikhail
Top achievements
Rank 1
answered on 16 Feb 2012, 09:32 AM
Have you solved this issue? I have upgraded Telerik controls to latest beta and I have the same issue while one grid in form.
Tags
Grid
Asked by
Neena
Top achievements
Rank 1
Answers by
Mikhail
Top achievements
Rank 1
Share this question
or