You need to sign in to do that
Don't have an account?
chaitu.gadam
how to attach the URL for the custom button
hi,
I want the code for which when the user clicks the custom button like "Proceed" ,then the user has to transfer the page to New Lead Registering page.. how to do it in VF page...can u please send the code
<apex:commandButton value="Edit" title="to edit contact" id="editButton" action="/apex/YourPagename" style="color:blue">
<apex:commandButton vale="Proceed" action ="{!Proceed}">
public PageReference Proceed() {
PageReference listContact=new PageReference('url');// add your url
or
PageReference listContact=new PageReference('apex/yourpage name');
return listContact;
}
All Answers
<apex:commandButton value="Edit" title="to edit contact" id="editButton" action="/apex/YourPagename" style="color:blue">
<apex:commandButton vale="Proceed" action ="{!Proceed}">
public PageReference Proceed() {
PageReference listContact=new PageReference('url');// add your url
or
PageReference listContact=new PageReference('apex/yourpage name');
return listContact;
}
Hi ,
thanks asish Its working