Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, February 22, 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!
 Architect Forums - SalesLogix .NET Extensions
Forum to discuss the use of .NET Extensions in SalesLogix version 7 and higher. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix .NET Extensions | New ThreadView:  Search:  
 Author  Thread: Embedded a .net user control in Saleslogix 7.2 but user control not visible!
john
Posts: 34
 
Embedded a .net user control in Saleslogix 7.2 but user control not visible!Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Aug 08 4:59 AM
I have created a c# user control based on the example for embedding a .net user control in Saleslogix.
The user control works as expected if I drop it onto a .net form, however when I try and embed it into Saleslogix all I get is a blank Saleslogix form. I have added a load of debugging into the user control and I can see that all the code is being executed on startup - so I know that is all working.
Has anyone got any ideas on what I am doing wrong?

We are using Saleslogix 7.2 SP2, C# 2008 (built against 2.0 framework)...
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Embedded a .net user control in Saleslogix 7.2 but user control not visible!Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Aug 08 12:20 AM
What does the code look like?
[Reply][Quote]
john
Posts: 34
 
Re: Embedded a .net user control in Saleslogix 7.2 but user control not visible!Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Aug 08 3:40 AM
As it turns out the code was fine - for some reason Saleslogix got its knickers in a twist with the managed form I had created. I created a new manage form, copied and pasted the code onto it and hey presto!

Thanks for the reply though - especially from the man himself
[Reply][Quote]
Mark Dykun
Posts: 297
 
Re: Embedded a .net user control in Saleslogix 7.2 but user control not visible!Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Aug 08 7:33 AM
Also note that depending on what form event you hook to add your user control it also may not show. It seems when there are times when the windows handles are not created for form level controls and the hooking mechinism will actually end up parenting the window to a bad handle.

Mark
[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): 2/22/2025 9:28:12 AM