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
NTNT 

Cancel button

I have created a VF page. This page is overriding the functionality of standard New button.
On this page I don't have the SideBar and Header tabs.
On this page I have Three buttons Save, SaveNew, Cancel.
My problem is when i click on Cancel button it shows me SideBar and Header tab twice.


screen file (Error.jpg) is attached at: http://cl1p.net/VFError/



hisrinuhisrinu
Hi ,
For your page you are using custom controller.
If you use standarad controller you will not get this.
if you want to use custom controller use it as an extensions then it will work fine.


Thanks
Srini
NTNT
Hi,
I have used standarad controller with the custom controller but i am getting the same issue.

I have also used window.parent.location.href,window.opener. but not working

Is there any other way?

hisrinuhisrinu
are you overridding the standarad new button or custome one?
NTNT
overriding the standard new button of my custom object.