7/8/2025 5:29:02 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 writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
|
|
|
|
DialogService.ShowDialog() method problem.
Posted: 24 Dec 09 12:55 AM
|
I'm trying to show the editOppertunityCompetitor screen . On the gridview Edit Option. added DialogServices bit to following method :
grdOpportunityCompetitors_RowCommand()
under this method
if (e.CommandName.Equals("Edit")) { if (DialogService != null) { DialogService.SetSpecs(0, 0, 400, 600, "EditOpportunityCompetitor", string.Empty , true); DialogService.EntityType = typeof(Sage.Entity.Interfaces.IOpportunityCompetitor ); DialogService.EntityID = id; DialogService.ShowDialog(); } }
But i'm Getting error at "DialogService.ShowDialog();" keyNames and keyValues arrays must be equal length.
if i remove DialogService.EntityID = id; then it will show the dialog.
based on opportunityID and CompetitorId This details has to fill in new dialog screen.
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!
|
|
|
|
|
|
|
|