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

[Solved] ValidationSettings ValidationGroup ignored on Update

1 Answer 244 Views
Grid
This is a migrated thread and some comments may be shown as answers.
R
Top achievements
Rank 1
R asked on 18 Apr 2009, 12:10 AM
My page contains a RadGrid and two Validation Groups, one for the RadGrid (gridGroup) and one for the other page controls (pageGroup).

Initially I was unable to insert a record into the grid because the pageGroup validators would fire when I click insert, the page never even posted back.

I add to following code to the RadGrid:
 
<ValidationSettings EnableValidation="true" ValidationGroup="gridGroup" /> 

I could then Insert a record into my grid without firing off the pageGroup validators.
I then tried to edit the record.  I clicked edit and the row went into edit mode.  I made a change and click update and no postback occured because the pageGroup validators were fired.  If I filled in the fields associated with the pageGroup validators, effectivly turning the validators off, I am able to Update.

This occurs regardless of whether I designate CommandsToValidate or not.

Anyone have an idea what I'm missing?

Thanks,

Rob

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 22 Apr 2009, 03:09 PM
Hello Rob,

Unfortunately I could not replicate the described problem. Could you verify that all validating controls on the page have ValidationGroup property set correctly?
For further information you can examine this online demo and the help article related to it.

If the problem still persists I will suggest you to open a regular support ticket and attach to it a working test project which reproduces the depicted issue.

Kind regards,
Georgi Krustev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
R
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or