Click here to Skip to main content
15,922,166 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I using The Grid View with AutoGenerateSelect Button..

I want to do the Javascript validation on the any one Grid view row is Selected or not when Click the Save button to Submit the page to Server..

Thanks And Regards...

[edit]Tags changed to reflect question content[/edit]
Posted
Updated 5-Apr-10 4:22am
v2

1 solution

Dear;

i think it is a waste of time to validate all the rows once with the save button. if i were you i would go to dirty rows, that means any row that's updated will be added to an int array or list and then on save click you validate only those dirty rows.

Reason:
1- less time rendering
2- you know the affected rows ie: row 1-5-90 etc and you validate only those rows whether by server side(C#) or client side javascript
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900