Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Property not generates code in designer file
Message
De
10/11/2010 05:36:11
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Property not generates code in designer file
Divers
Thread ID:
01488701
Message ID:
01488701
Vues:
83
Hi,
I found strange behavior when some of my properties not generates the designer code.
When I build the dll then properties reverted, because it does not saves in designer fiile.
And I can't understand why it could happens

The property declared standard
    Private _pmks_allow_fulltext_search As Boolean = False

    <Description("Make fulltextsearch textbox visible")> _
    <Category("MKS Toolbar GridControl")> _
    <DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Visible)> _
    Public Property pmks_allow_fulltext_search() As Boolean
        Get
            Return _pmks_allow_fulltext_search
        End Get
        Set(ByVal value As Boolean)
            _pmks_allow_fulltext_search = value
        End Set
    End Property
I already add attribute DesignerSerializationVisibility, it does not help.. and without this attribute it also does not generates the code in designer file.
Any ideas?

Thanks
Denis
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform