CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

How to call CANCEL

by mrcarver » 15 Nov 2017 20:22

CG Gurus,

I am having to create my own navigation of the wizard. How does one cause the CGWizard to "cancel" using my own event? The methods for Previous, Next, and Finish are exposed, but the Cancel is not.

Please advise.

Regards,
Monte Carver
mrcarver
 
Posts: 70
Joined: 05 Jun 2012 10:51

by Alexander Bulei » 16 Nov 2017 16:57

Hi mrcarver,

The methods for Previous, Next, and Finish are exposed, but the Cancel is not.


There is no any Cancel method, because it's not available in plugin.
I've checked the plugin, and cancel button trigger the Cancel event only, nothing more.

https://github.com/rstaib/jquery-steps/wiki

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by mrcarver » 16 Nov 2017 19:27

Alexander,

I assumed it would be straight forward to mimic the navigation buttons with my own. But, I need the all the events to fire, which does not occure when using myWiz.Next, myWiz.Previous, etc.

Please advise how to mimic the behavior of the built in navigation buttons. Is there an event I am missing?

Regards
Monte Carver
mrcarver
 
Posts: 70
Joined: 05 Jun 2012 10:51

by Alexander Bulei » 16 Nov 2017 19:31

Hi mrcarver,

The default "Cancel" button of wizard do nothing, only triggers the OnCanceled event and nothing more.

So, you should decide, what you want to do, when user clicks on your custom cancel button.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by mrcarver » 16 Nov 2017 21:33

Alexander,

At this point I am just trying to mimic the action of clicking the Previous and Next button of the wizard. But using the "Previous" and "Next" methods does not cause the various Wizard events to fire, which is a "must have".

Please advise how to accomplish this feature.

Regards,
Monte Carver
mrcarver
 
Posts: 70
Joined: 05 Jun 2012 10:51


Return to JQWizard

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.