Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, August 16, 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: insertcontact screen not showing dialog
chez
Posts: 44
 
insertcontact screen not showing dialogYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Dec 08 12:02 PM
I'm trying to show the addeditaddress screen before the insert accountcontact screen closes.
On the contact/insertContact.ascx added DialogServices bit to following method:

protected void cmdSave_ClickAction(object sender, EventArgs e)
{
IContact contact = BindingSource.Current as IContact;
if (contact != null)
{
object[] objarray = new object[] { contact, contact.Account };
object contactId = EntityFactory.Execute("Contact.SaveContactAccount", objarray);
if (contactId != null)
if (DialogService != null)
{
string Id = contact.Address.EntityId;
// DialogService.DialogParameters.Clear();
// DialogService.DialogParameters.Add("Address", contact.Address.Id);

DialogService.SetSpecs(200, 200, 318, 600, "AddEditAddress"); //"", true);
//DialogService.EntityType = typeof(Sage.Entity.Interfaces.IAddress);
if (Id != null)
{
DialogService.EntityID = Id;
}
DialogService.ShowDialog();
}

Response.Redirect(string.Format("Contact.aspx?entityId={0}", (contactId)));
}
}

To no avail it still doesn't popup with the addedit screen before closing and redirecting.
It already appears in the contact smartpart list as a dialog so didn't need to add it here.

Any suggestions would be appreciated.

[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): 8/16/2025 9:12:23 PM