Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can you use RequiredFieldValidator with GridViewControl?
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01435659
Message ID:
01435666
Views:
35
>>I tried dragging the RequiredFieldValidator into the GridView, but it always forced it to stay outside of the GridView. The book I am reading mentions it but doesn't say how to do it.
>>
>>>>Is there a way to use a RequiredFieldValidator with a field/column in a GridView control, or am I dreaming?
>>>>
>>>>Cecil
>>>
>>>Yes, I believe we used it in GridView column. I'll try to find an example later tonight - I forgot which exactly page was it.
>
>Here is the thread my friend Raghav pointed me to
>
>http://forums.asp.net/t/1199412.aspx
>
>I checked one of my pages and it doesn't have RFV in GridView. I don't want to go through other pages right now - let me know if this thread can get you going or not.


If you convert columns you want to validate to templates, you can then drop validators into the template.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform