Saturday, March 24, 2012

Validation in Grid View

Hi,

I have a web form which has a Grid view with item templates like check box, list item, etc followed by approve and reject buttons at the bottom.

User can select the check boxes and thereby approve or reject the same. Validation should be such that, a item is selected from list box against every selected check box for approval and remarks should be entered against every selected check box for rejection.

This can be easily validated at the server end but, i am unable to do the same at client endSad

Hi:

Since I'm not very clear about your requirement, I could only give you a general solution:

View Source to see how your controls render as normal HTML markups and the relationship between their ID at server side and their ClilentID.

Some simple scenario can be solved by Attributes.Add() at server side. But your scenario seems very complex.

And since your problem is totally about client side, you'd better post in this forum:

http://forums.asp.net/thread/1680614.aspx

Thank you for your cooperation!

If it doesn't help, please inform us.

Regards


Atlast i got the solution.

http://forums.asp.net/thread/1685226.aspx

No comments:

Post a Comment