Hi i am using Page_Validators to validate some text boxes before bind into grid.
My actual requirement is that I have two grids on same page. If i took Page_Validators from the DOM it contains total validators in pages. How can I identity this validator for particular grid?
Anyone please help me stuck with this.
Thanks .
In a general sense, you can figure out the parent of an object by using jQuery’s
.parents()function:HTML–
JS–
This will traverse through the
.childelement’s ancestors until it finds the.parentelement.You can find documentation for
.parents()here: http://api.jquery.com/parentsWithout more information about your problem I can’t help much. Some posted code on jsfiddle or a link to your live site would be helpful.