You need to sign in to do that
Don't have an account?

Display related contacts in same VF page
I want to display the account and related contacts in the same visual force page. Need to display the account names in first page block and If we click on the command link called contacts that has to display the contacts related to that particular account in another pageblock.
Name Phone Industry Actions
Account1 123-456-789 Retail Contacts || New Contact || Edit
Account2 234-456-780 Auto Contacts || New Contact || Edit
Name Phone Industry Actions
Account1 123-456-789 Retail Contacts || New Contact || Edit
Account2 234-456-780 Auto Contacts || New Contact || Edit
Displaying the account and related contacts in the same visual force page.
Usual question: https://developer.salesforce.com/forums/ForumsMain?id=9060G000000XiDPQA0
Two small examples of code (minimalistic solution which works). I have just added some jQuery code.
Best regards
Alain