function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SK chantiSK chanti 

Override the edit button

Hi every one,
I have three vf page for 3 different values depending on the picklist iam showing the vfpage for that particular value now iam unable to show the same page in detail view and Edit view can anyon e help me over her.
I know it can be done by Record types but i want to do this through vfpages. Can anyone help me over here.

Regards,
SK
 
Mudasir WaniMudasir Wani
Ratherthan Using three pages, You should use one page only with 3 sections which will show the content as per your need.
Use render renRender attributes to hide and show the different content.

Here are some Useful links
http://www.oyecode.com/2013/04/how-to-re-render-part-of-visualforce.html

https://developer.salesforce.com/forums/?id=906F0000000AUDnIAO