Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, June 30, 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: Web Browser Control Sample - can't seem to get it working
Tim Conway
Posts: 41
 
Web Browser Control Sample - can't seem to get it workingYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Jun 10 11:06 PM
Is there a way to add the URL to the Web Browser Control (IFRAME)? I have created a page and added it to the Customer Portal, then I created a Smart Part from the form I created in the Application Entities and added it to the Page. But where do I add the code to point to the URL. I can't seem to get to the code to edit? If I add as Project I only get the form, no code, but I can't add as custom because it's not there. And when I tried editing it in VS 2008, the AA deployment strips out the src = http://www.google.com I put in.

How do I point the Web Browser Control to a URL so it just displays when the page loads.

Thanks for your help.

Tim
[Reply][Quote]
Tim Conway
Posts: 41
 
Re: Web Browser Control Sample - can't seem to get it workingYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Jun 10 8:39 AM
I realized the last post was probably unclear (it was 1:30 AM). Anyway, all I need is the Web Browser Control to open a URL, like http://www.google.com, when the page it's on is opened.

Now it seems like you would just have a URL property or something to simply populate with www.google.com But that is not the case (sorry, I'm usually a VB App guy with some C# usually working in VS).

I can't see that this would be all that difficult, but it's become quite elusive. Anybody have any ideas on this.

Thanks in advance

Tim
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Web Browser Control Sample - can't seem to get it workingYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Jun 10 10:39 AM
How about adding some simple javascript:

var frm = document.getElementById('yourFrameClientID');
frm.src = "http://www.google.com";
[Reply][Quote]
Tim Conway
Posts: 41
 
Re: Web Browser Control Sample - can't seem to get it workingYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Jun 10 4:33 PM
Thanks Raul, but it appears the problem is the smart part; I'm getting the form, but no smart part. As a test here is what I did.

1. Created a simple Detail Quick Form in SalesLogix Application Entities\ Forms. I did NOT add anything on the Properties Page of the wizard, basically a blank form. It has one row, one column and one button that has a caption. Nothing else. I selected the button as the active control. Compiled.
2. Created a new Portal Page in the Customer Portal using the Wizard and in the process, added the Quick Form and placed it in the MainContent section. Compiled
3. Added the Page.aspx to a Toolbar button on the Main Customer Portal Page to open my page when clicked.
4. Compile everything, Deploy, and test it.

The result is, the page loads. I know this because I see the name displayed, but the content is consistently empty, nothing from the smart part. I've done this perhaps a dozen times and kept it simple in an effort to just see the button so I know I've gotten that far.

Obviously I have missed some step. Any idea what I have done wrong.

Thanks in advance.

Tim
[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/30/2025 5:23:31 AM