
Question: I need to link to the Account Mainview from a grid in SalesLogix. I have the ID from a grid:
string id = grdAccounts.DataKeys[rowIndex].Value.ToString();
Where do I go from here?
Answer: Response.Redirect(“~/Account.aspx?entityid=” + id);
Or, use a PageLink Column on your Grid:
<Columns>
…
…
<asp:TemplateField HeaderTextAccount” SortExpression=”Account” >
<itemtemplate>
<SalesLogix:PageLink runat=”server”
NavigateUrl=”Account”
EntityId='<%# DataBinder.Eval(“Id”) %>’
Text='<%# DataBinder.Eval(“Account”) %>’
LinkType=”EntityAlias”>
</SalesLogix:PageLink>
</itemtemplate>
</asp:TemplateField>
</Columns>
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!