Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Property EditorProperty Editor
Previous
 
Next
New Post
5/28/2007 10:31 AM
 

Hi,

Could somebody indicate to me where to find a sample coding of Property Editor? Only information which I found is that which is in the blog of Charles Nurse. But there is no example or doc.

Thanks a lot!

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
5/28/2007 8:23 PM
 

Salut Gilles,

On travaille avec le property editor depuis a peu près un an à Aricie. On devrait pouvoir te donner un coup de main si tu veux avec ces contrôles.

Je ne l'ai pas sous la main tout de suite, mais rappelle moi de t'envoyer un exemple de property editor mappé sur un datatable arbitraire que j'avais préparé pour une formation l'an dernier.

Sinon pour faire court, tu trouveras dans les formulaires admin EditProfileDefinition.ascx / UserSettings.ascx / Profile.ascx du profil utilisateur 3 exemples assez différents d'utilisation du property editor, dans l'ordre de degrés de complexité/abstraction croissants (commence par le formulaire de création d'un champs dynamique, c'est le plus simple, et fini par le formulaire d'affichage/edition du profil, c'est le plus abstrait.

La confusion possible entre ces différentes implémentations est sans doute la principale barrière à l'entrée, mais si tu les prends dans le bon ordre, avec un reflector sous la main ;-), tu ne devrais pas avoir de problèmes particuliers.

En gros, le property editor te permet de définir les contrôles associés à chacune des propriétés des objets que tu binde (de nombreux contrôles ASP.Net 2.0 fonctionnent dans le même style).

Le premier niveau de complexité consiste à définir directement dans les classes métiers les paramètres d'affichages des propriétés par le biais d'attributs explicites (commence par ca pour comprendre la mécanique de base des FieldControls et des EditControls).

Ensuite tu peux rajouter de l'abstraction en découplant la mise en forme des objets métiers

A+.


Jesse
CTO - Aricie
 
New Post
5/28/2007 8:27 PM
 

For the non French speaking (Ploum should be alright):

I was mainly suggesting to have a look at the EditProfileDefinition.ascx / UserSettings.ascx / Profile.ascx admin controls, and probably in that order since they reflect an increasing abstraction.

Cheers


Jesse
CTO - Aricie
 
New Post
5/28/2007 8:52 PM
 

Hi Jesse,

Thank you for your help (and for translate it) ! Wouldn't it be useful to make a small handbook on the subject? Say me, you do not do anything this weekend?

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
5/28/2007 8:54 PM
 

Jesse,

please accept, that for moderators sake, these forums are in English only (don't require me to grab for my scool french lessions after decades ;-) )

Thank you.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Property EditorProperty Editor


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out