Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, June 27, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: Custom SmartPart won't Load on Welcome Page
Wiley S.
Posts: 52
 
Custom SmartPart won't Load on Welcome PageYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Oct 12 4:38 PM
fiogf49gjkf0d

It works fine in my testing.  The ASCX control is a simple implementation of FusionChartFree that loads up a count of opportunities and makes a funnel chart.


The control works fine when running in VS2008.  When I move it over to the Welcome page, it fails with error...


Could not load type 'SLX_FunnelChart'. 


Is this a matter of logins to the DB?  Can I use SPI?


 


W

[Reply][Quote]
Wiley S.
Posts: 52
 
Re: Custom SmartPart won't Load on Welcome PageYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Nov 12 10:34 AM
fiogf49gjkf0d

Well, the DB is not the issue.  


Anyone know how can I get my SmartPart to load in the web environment?

[Reply][Quote]
Wiley S.
Posts: 52
 
Re: Custom SmartPart won't Load on Welcome PageYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Nov 12 12:47 PM
fiogf49gjkf0d

Are SmartParts not able to use Code Behind in SLX Web?


 


 

[Reply][Quote]
Wiley S.
Posts: 52
 
Re: Custom SmartPart won't Load on Welcome PageYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Nov 12 2:28 PM
fiogf49gjkf0d

So I created a new SmartPart with just a plain old Label in it.


Added it to the SmartPart directory via AA.


Added it to the Welcome page via AA.


Run the site, the SmartPart can be added to the view on the page.


It still fails to load with the same error.


 


I am officially stumped.  How can just a plain ASCX with a Label not load?


 


Is there a secret I need to know about to make things load?


 

[Reply][Quote]
Wiley S.
Posts: 52
 
Re: Custom SmartPart won't Load on Welcome PageYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Nov 12 2:55 PM
fiogf49gjkf0d

The contents of my ASCX


 



<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Test.ascx.cs" Inherits="SLX_SmartParts.Test" %>


<asp:Label ID="Label1" runat="server" Text="SLX TEST"></asp:Label>



 


 

[Reply][Quote]
Wiley S.
Posts: 52
 
Re: Custom SmartPart won't Load on Welcome PageYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Nov 12 5:10 PM
fiogf49gjkf0d

OK.  So the Inherits has to contain "SmartParts_" before your class name.


The Class name in code behind has to also contain this.


There cannot be a set of Namespace brackets in the ASCX.


 


You would think this was documented some where.


 


 

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 6/27/2025 5:41:55 PM