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

CausesValidation

6 Answers 236 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 18 Sep 2008, 05:59 PM
Hi..
How do you turn off the validation on the Grid.
So when you insert/update it does not call the parent's form validation?
thanks

6 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 19 Sep 2008, 06:31 AM
Hi Jon,

You can use RadGrid1.ValidationSettings.EnableValidation to control this.
Please check this example for more info:
http://demos.telerik.com/aspnet/Prometheus/Grid/Examples/DataEditing/Validation/DefaultCS.aspx

Sincerely yours,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Shinu
Top achievements
Rank 2
answered on 19 Sep 2008, 06:31 AM
Hi Jon,

Try setting the EnableValidation property of the Grid to false(default value is true) as shown below.

ASPX:
<telerik:RadGrid ID="RadGrid1" runat="server"  ValidationSettings-EnableValidation="false"  DataSourceID="SqlDataSource1" > 
              


Thanks
Shinu
0
Jon
Top achievements
Rank 1
answered on 19 Sep 2008, 11:32 AM
It still validates the entire form
What am I missing
thanks
0
Sebastian
Telerik team
answered on 19 Sep 2008, 11:51 AM
Hi Jon,

To progress in our investigation, can you please isolate a working subset of your project and send it enclosed to a formal support ticket? We will test it locally and will get around to you with our findings.

Kind regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Coty
Top achievements
Rank 1
answered on 21 May 2009, 05:05 PM
Was there a solution to this?   I am having the same problem, RadGrid

 

ValidationSettings-EnableValidation="false"    
 

Yet it still triggers the form validations?



 

0
Sebastian
Telerik team
answered on 22 May 2009, 07:49 AM
Hi Coty,

Can you please verify that you are using the latest version 2009.1.402 of RadControls for ASP.NET AJAX in your project? You can also test the validation mechanism of the grid on this online demo of the product:

http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/validation/defaultcs.aspx

Best regards,
Sebastian
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
Jon
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Shinu
Top achievements
Rank 2
Jon
Top achievements
Rank 1
Sebastian
Telerik team
Coty
Top achievements
Rank 1
Share this question
or