+ Start a Discussion
Raghavendra ARaghavendra A 

Visualforce page to handle View, Edit and Detailed page mode in a same visualforce page

Hi All,

I am trying to biuld a visualforce page to handle View, Edit and Detailed page mode in a same visualforce page. Could you please help me how to proceed this and also,
  • Let me know what are the best practices that we need to adopt while doing this.
  • Can I use different controllers for different functions like View, Edit or Detailed Page?

Regards,
Raghu
Best Answer chosen by Raghavendra A
SonamSonam (Salesforce Developers) 
Hi Raghu, Did you get a chance to check  apex:InlineEditSupport:
https://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_inlineEditSupport.htm

If you ise this - you can save the record using inline edit feature and view the record on the same VF.