By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,627 Members | 2,244 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,627 IT Pros & Developers. It's quick & easy.

Regarding adding java script validation to gri view on clicking on paging links

P: 7
Hi,

I am having grid view an my page which is having template fields(text box, check box and drop down).If user clicks on check box i need to consider text box and drop down as a required fields.i need to perform this validation for page while user trying to move to next page. so for that i wrie one java script block.
i am trying to call this java script by using below piece of code

grdContracts.Attributes.Add("OnPageIndexChanging", "return Validate();");

but its not working?
can you plesae any one help me? how to do validation on grid view paging


Thanks In Advance

by
Nithi
Feb 5 '08 #1
Share this Question
Share on Google+
2 Replies


kenobewan
Expert 2.5K+
P: 4,871
Is OnPageIndexChanging a JavaScript event?
Feb 5 '08 #2

P: 7
Is OnPageIndexChanging a JavaScript event?
Yes, i need to call java script fuction on pager links click event
Feb 5 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.