问题描述:

I this is homework. I'm getting the wrong answer, looking for the right one I guess. Anyway I dropped down four required field validators onto my page (validating textboxes).

The assignment wants me to use a validation summary. The book is very vague on this part. I dropped the validation summary onto the page.

How do I tell the summary to ummmm I guess summarize?

I looked up on the microsoft website and it says to "in properties window set formtovalidate property to the form you want to validate" but in my properties window I do not see a formtovalidate property... you know, otherwise I would and I wouldn't ask what I am missing.

I see a "validation group" although I do not see this mentioned in my text and I am unclear if I'm barking up the right tree.

If someone can walk me through I would appreciate it. I didn't post any code although I am unsure I need to since I'm just trying to get my head around setting this up.

Thanks again,

Jeremy

网友答案:

Browse to this page. This will help you get started

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.validationsummary.aspx

相关阅读:
Top