7/1/2025 7:35:10 AM
|
|
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.
|
|
|
|
User relationships causing issues with Dialog actions.
Posted: 25 Sep 09 3:27 PM
|
Hi guys,
I have created a new Entity (ContactOwner) with a M:1 relationship with the contacts entity. This new Entity also has a M:1 relationship with Users (many Users can 'own' many Contacts). This has been working well - i have a datagrid in the tab space of the Contact Details page that displays the current Contact's owners, and can add new owners to any contact. The problem I have is when adding an Edit column to the datagrid. Clicking on the edit button yields this exception as a message box, and I have been unable to find a workaround.
Sys.WebForms.PageRequestManagerServerErrorException: Exception has been thrown by the target of an invocation.: Static parameterless Create method not found on type, Sage.SalesLogix.Security.UserInfo I believe this error is because I have a lookup control in the dialog box that is bound to the ContactOwner.User property but have no idea why this is happening or how I can fix it.
Has anybody encountered this issue before, or perhaps have some insight into how I might fix it? I am very confused because the form works for adding a new Entity (the dialog box is a child dialog in that case) but throws this error when clicking the "Edit" control on the datagrid (The dialog box is a regular dialog box in this case: Perhaps a factor?).
I would be very grateful for any help or potential insight. If this is not enough information for some reason, i'd be happy to elaborate. |
|
|
|
Re: User relationships causing issues with Dialog actions.
Posted: 28 Dec 09 1:30 PM
|
Hi
I have a similiar problem, I'm getting this error:
Sys.WebForms.PageRequestManagerServerErrorException: Exception has been thrown by the target of an invocation.: The argument component cannot be null. Parameter name: component
when I click on a DataGrid Selection column which has a code snippet on the OnRowSelectedAction event that is being executed correctly as I have been debbuging the code and after the OnRowSelectedAction code event execution, the error appears on this form event on the datasource Bind() method call:
protected override void OnFormBound() { if (DataSource.SourceObject == null) { DataSource.SourceObject = BindingSource.Current; } if (DataSource.SourceObject == null) { RegisterBindingsWithClient(DataSource); } DataSource.Bind();//***********ERROR LINE
ClientBindingMgr.SetFocusTo(LocalStartDAte); Sage.Platform.WebPortal.EntityPage epage = Page as Sage.Platform.WebPortal.EntityPage; if (epage != null) _runActivating = (epage.IsNewEntity || _runActivating); if (_runActivating) DoActivating(); }
it seems like for some reason the BindingSource is always null. Any ideas on what might be causing this issue? thanks in advance!
|
|
|
|
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!
|
|
|
|
|
|
|
|