Login / Register  search  syndication  about

          SalesLogix Questions & Answers

Your place to get answers to your SalesLogix related questions.

 Home  |   Subscribe via RSS  |   Subscribe via E-mail  |   

How Can I Dynamically Hide/Show a Panel on a Form in SalesLogix?

Question: I am trying to dynamically hide / show a panel on a form in the onload event of my form in SalesLogix.  I have added the panel to the form, and added a couple of fields in the panel, but when trying to reference the panel with the following code snippet:

form.pnlArchitect.Visible = False

I receive this runtime error:

Object reference not set to an instance of an object.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 49: form.dtPresentation.Caption = ""
Line 50:
Line 51: form.pnlArchitect.Visible = False
Line 52:
Line 53:


How can I fix this?

Answer: If you are using the C# Snippet (deprecated), you do not need the form. precursor.
Just use dtPresention.Caption.

What's This?
  
Bookmark and Share

About SalesLogix Support

   Your SalesLogix Business Partner for SalesLogix Support.


Related Content
   What is the best way to delete unused Groups in SalesLogix?
After several years of using SalesLogix – we have hundreds of groups, most of which are no longer used as
Posted on May 21, 2013 by SalesLogix Support to SalesLogix Questions & Answers
 
   Can the SalesLogix Application architect's build process be automated?
Can the SalesLogix Application architect's build process be automated, or called from a batch file? W
Posted on May 16, 2013 by SalesLogix Support to SalesLogix Questions & Answers
 
   Is it possible to Sync SalesLogix Attachments based on Account Manager?
Is it possible to only sync SalesLogix Attachments from the accounts where the user is the account manag
Posted on May 15, 2013 by SalesLogix Support to SalesLogix Questions & Answers
 
   SalesLogix Remote Library Management
Is it possible to log into a SalesLogix Remote Database as Admin and Manage the Library Files?
Posted on May 14, 2013 by SalesLogix Support to SalesLogix Questions & Answers
 
   Demystifying SalesLogix Web: Dashboards and Analytics Tools
Join us for a free webinar, Wednesday, May 15th at 2pm CDT. The SalesLogix Web dashboards and analytics
Posted on May 08, 2013 by Brianna Tinjum to The Inbox
 
Comments

No Comments
All contents Copyright © 2013 Customer FX Corporation
Customer FX Corporation
2324 University Avenue West, Suite 115
Saint Paul, Minnesota 55114
Tel: 800.728.5783

  Follow @CustomerFX on twitter
Follow the best news, tips, and articles
  Subscribe to Customer FX on youtube
Watch SalesLogix tutorial videos from Customer FX
Login / Register