Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set visible property to menuitem
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00862719
Message ID:
00862737
Views:
12
>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!
Previous
Reply
Map
View

Click here to load this message in the networking platform