Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set visible property to menuitem
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00862719
Message ID:
00862737
Vues:
11
>How to make visible = false to menu .. I have ran below code:
>
>me.menuitem2.visible = false
>
>and I met below error message:
>
>an unhandled exception of type 'System.NullReferenceException' occured in test.exe
>
>Additional information:
>
>Object reference not set to an instance of an object
>
>please help .. thanks
>
>Regards
>Winanjaya

The null reference gives sign that the menuitem2 has probably not been created, or has been destroyed.
When are you calling this code?
Brian Seekford
Seekford Solutions, Inc.
http://www.SeekfordSolutions.com
Internet ActiveX Controls and .NET Class Libraries.
SMTP/S FTP POP3/S HTTP/S SNTP MIME PING WHOIS TRACEROUTE NNTP DNS MX
Base64, UUEncode, yEnc, MD5, SHA1, URL, Quoted-Printable.
Resizer and Tooltips
Email Verification and more. Check us out!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform