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: Cant open dialog a second time
Tony Joanes
Posts: 71
 
Cant open dialog a second timeYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Apr 10 9:35 AM
I have an issue whereby I open a dialog, do some action and then close it. After I have done this I can't reopen the dialog.

The button events don't fire the second time.

Any one seen this?
[Reply][Quote]
James Sutton
Posts: 6
 
Re: Cant open dialog a second timeYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Apr 10 6:52 AM
Yes we've had this issue on 7.5.2 where if we cancel the dialog we subsequent clicks on the button to launch it again do nothing until a full post back (which doesn't make sense for a cancel operation). Since we refresh after a save on the dialog if the user makes a change the post back allows the user to make iterative calls.

I have this on my list to get resolved but I haven't had a chance to get to it yet.

Regards,

James Sutton
[Reply][Quote]
Tony Joanes
Posts: 71
 
Re: Cant open dialog a second timeYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Apr 10 7:06 AM
Its a pain because if the user doesn't make a change they can't reopen the dialog.

i have narrowed the issue down to one particular dialog so am going through debuggin this to see if I can figure it out. I will post my findings!
[Reply][Quote]
Tony Joanes
Posts: 71
 
Re: Cant open dialog a second timeYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Apr 10 7:07 AM
Its a pain because if the user doesn't make a change they can't reopen the dialog.

i have narrowed the issue down to one particular dialog so am going through debuggin this to see if I can figure it out. I will post my findings!
[Reply][Quote]
Nick Hollis
Posts: 549
Top 10 forum poster: 549 posts
 
Re: Cant open dialog a second timeYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Apr 10 7:28 AM
You cannot open/close/reopen dialogs. The best you will get is a blank dialog at the end of event. Interestingly it appears to work twice but the third time it just gives a blank dialog and everything screws.

You could however write some clever code on your calling page (say Contact Details). You can write in a OnDialogClosing (not the exact method name but you should be able to find it as an override-able method) method code to check which form just closed. You could then use DialogParameters on closing the form which the code on the calling form (Con Details) can check and perform the necessary, e.g. open the original dialog, or open a different dialog. Quite complicated to do something relatively simple I agree, but that the way it is at the moment in the DialogWorkSpace.

An easy example to follow is on the InsertContact.ascx. You will see a couple of lines like this:

if (DialogService.SmartPartMappedID == "ContactSearchForDuplicates")
{
if (DialogService.DialogParameters.ContainsKey("JumpID"))

This is saying, was the dialog that just closed called "ContactSearchForDuplicates"? If so, did that dialog set a particular dialogparameter? If so act accordingly....i.e. open another quickform or whatever.

Make sense?

Cheers,
Nick
[Reply][Quote]
Nick Hollis
Posts: 549
Top 10 forum poster: 549 posts
 
Re: Cant open dialog a second timeYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Apr 10 7:31 AM
Hang on I completely misunderstood the problem.

Yes there must a be a problem with your dialog - I have never seen this before! What is the dialog doing?
[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 6:48:19 PM