Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, June 8, 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: Persistence Problem with dependent lookup
BoB
Posts: 1
 
Persistence Problem with dependent lookupYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Mar 13 8:34 AM

Hello,


I am new to SLX and try to use a dependent lookup control like AreaCategoryIssue. So I added a CountryState dependent lookup in InsertAccount and AccountDetails form. This is working fine in the details form , but in the InsertAccount , only country is saved, I made both via the App Architect.


Could you tell me please what to check in the code ?


thanks !


 


here my code :


<SalesLogix:DependencyLookupControl runat="server" ID="dlCountryProvince"  LabelCssClass="lbl"  >
<LookupResultsHeaderStyle BackColor="ActiveCaption" Font-Bold="True" ForeColor="White" />
<LookupDialogStyle BackColor="ButtonFace" />
<LookupResultsStyle CellPadding="4" ForeColor="Black" />
<DependentLookups>
 <SalesLogix:DependentLookup LookupEntityName="CFCCountryProvince" LookupEntityTypeName="Sage.Entity.Interfaces.ICFCCountryProvince, Sage.Entity.Interfaces, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" DropDownDisplayProperty="Country" ParentProperty="" PropertyDisplay="<%$ resources: dlCountryProvince.DependentLookups.Country.PropertyDisplay %>" BindingPropertyName="Address.Country">
  </SalesLogix:DependentLookup>
 <SalesLogix:DependentLookup LookupEntityName="CFCCountryProvince" LookupEntityTypeName="Sage.Entity.Interfaces.ICFCCountryProvince, Sage.Entity.Interfaces, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" DropDownDisplayProperty="Province" ParentProperty="Country" PropertyDisplay="<%$ resources: dlCountryProvince.DependentLookups.Province.PropertyDisplay %>" BindingPropertyName="Address.State">
  </SalesLogix:DependentLookup>
  </DependentLookups>
  <LookupPreFilters>
      </LookupPreFilters>
</SalesLogix:DependencyLookupControl>
</div>


OnAddEntityBindings


       // dlCountryProvince.Text Binding
        Sage.Platform.WebPortal.Binding.WebEntityBinding dlCountryProvinceTextBinding = new Sage.Platform.WebPortal.Binding.WebEntityBinding("Address.Country", dlCountryProvince, "Text");
        BindingSource.Bindings.Add(dlCountryProvinceTextBinding);


so here I have only the Address.Country link , so I should add the province , but how ? and why is it working in the details form (I check the code and for me they are exactly the same).


I suppose this is a very easy thing but all help is welcome !


thanks !


 

[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/8/2025 5:01:23 AM