Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can you use RequiredFieldValidator with GridViewControl?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Database:
Visual FoxPro
Divers
Thread ID:
01435659
Message ID:
01435667
Vues:
26
>>>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.

Right, I was thinking this as well - just wanted to find a sample I have...

I have been looking through some videos on PluralSight website - but somehow now it doesn't show the whole thing, you have to click each slide separately. I'm not sure why...
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform