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

ItemCommand CancelAll not working with server validation controls

1 Answer 26 Views
Grid
This is a migrated thread and some comments may be shown as answers.
psiegers45
Top achievements
Rank 1
psiegers45 asked on 23 Jun 2010, 02:24 PM
Hi, I'm having a problem with Server Validation controls that prohibit the ItemCommand CancelAll to work because some controls need some value when a new item is created. How can I disable validation when the user decides not to create the new item (and did not fill in all of those validated controls)?

Thanks in advance for any help!
Pieter

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 25 Jun 2010, 05:59 AM
Hello Pieter,

Have you tried setting CausesValidation=false for the control that triggers the command?

Best wishes,
Tsvetoslav
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
psiegers45
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or