8/16/2025 8:27:19 PM
|
|
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!
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.
|
|
|
|
insertcontact screen not showing dialog
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.
|
|
|
|
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!
|
|
|
|
|
|
|
|