Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Name property
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00759553
Message ID:
00759930
Vues:
17
My code sample was to demonstrate how to set the Name property using the Collection Count. You should enhance it to perform any validations you feel are appropriate. For the OnSetComplete method to fire, you need to wire up the event. Here is an article that explains how you would implement this in your code:

http://www.informit.com/isapi/product_id~%7B75B108D4-69BE-4A23-A340-D112EC5A1061%7D/st~%7BD06674E4-4033-4F5E-85D4-5D32A6FD7B71%7D/content/index.asp


>Do i have to validate the column name by code?
>
>not to accept empty values or duplicate name?
>
>i have a problem with the collection class, that class have a method name "OnSetComplete", that it is supposed to fire when the value of the class change, but it does not work.
>
>i have MSFlexGrid at wich i add Column Collection property, so at design time when i add objects and change the values on the collection property window, it does not fire "OnSetComplete", but OnInsertComplete works, why?
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform