Values From DependencyLookupControl in SalesLogix

Question: I am trying to get the values that a user selects on a form from the
DependencyLookupControl in SalesLogix but I’m having a bit of trouble. 
They aren’t bound to anything because I plan to use the values that the
user specifies to run a stored procedure that does extensive data
handling.  This is what I did to try to access the first drop down:

dlcListOfValues.

DependentLookups[0].

I still can’t find where the selected value is, any help would be appreciated.

 
Answer: Try this:

string area;
area = dplArea.FindControl(“Area”).

ClientID;

area = area.Replace(“_”, “$”) + “_Text”;
area = Page.Request[area];
string category;
category = dplArea.FindControl(“Category”).ClientID;

category = category.Replace(“_”, “$”) + “_Text”;
category = Page.Request[category];
string issue;
issue = dplArea.FindControl(“Issue”).ClientID;

issue = issue.Replace(“_”, “$”) + “_Text”;
issue = Page.Request[issue];

 

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!

You have Successfully Subscribed!