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

Rad Grid Insert/Update Command not Firing After disabeling validation

1 Answer 146 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Nisha
Top achievements
Rank 1
Nisha asked on 10 Nov 2011, 06:35 AM
Hello,

I have used rad grid with insert , update option using edit form template.While Add/Edit time Depending on Radio Button Selection I need to Enable , Disable Validation. Insert , Update option works perfect when validation are enable but when i am selecting option which is disabling my validation then by clicking on Insert , Update button my insertcommand and updatecommand are not working. By clicking on insert or update button it direct comes to itemcommand event not on insert or update command.

Any Idea why rad grid insert , update command not working after disabling validation?

 

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 14 Nov 2011, 10:33 AM
Hello Nisha,

I am not sure exactly which validation you have in mind, so can you please elaborate a little more on what validation you are disabling and how exactly? Sharing the code related to this issue could also help us in getting a more clear idea of what you are doing.
Also, have in mind that the ItemCommand event fires for all commands inside RadGrid, including Insert and Update - you first get ItemCommand with CommandName="PerformInsert" / "Update" and then the repsective InsertCommand or UpdateCommand event is raised.

Greetings,
Tsvetina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Grid
Asked by
Nisha
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or