Solved

jQuery SmartWizard with DevXpress ASPxCallback

Posted on 2013-12-18
4
693 Views
Last Modified: 2014-01-01
I'm using a jQuery Smartwizard control in a popup and I'm trying to dynamically populate content on the next step based on the information entered on the current step.  In order to do this, I invoke an ASPxCallback to look up data on the server side and then I pass this information back to the form in the "CallbackComplete" clientside event.  If successful, I'm then invoking the SmartWizard's "goForward" function, but this does nothing:

function OnCbComplete(rslt) {
    ASPxlblQ.SetText(rslt);
    $("#wizPwd").smartWizard("goForward");
    }

Open in new window

Any assistance will be appreciated.
0
Comment
Question by:Chris-H
  • 3
4 Comments
 

Author Comment

by:Chris-H
ID: 39731097
Thanks Modalot!
0
 

Author Comment

by:Chris-H
ID: 39746606
Does anyone have any questions? Any additional information I can give?  I'm desperate here!
0
 

Accepted Solution

by:
Chris-H earned 0 total points
ID: 39749674
Okay... so I worked this out onm y own and it was actually very easy.  The function defined for the "onLeaveStep" event of the SmartWizard object returns "false" by default - I set this to "true" in my function and all is working now.

    function OnCbComplete(rslt) {
        ASPxlblQ.SetText(rslt);
        $("#wizPwd").smartWizard("goForward");
    } 

    function OnLeaveStep(obj, context) {
        /* General processing code goes here */
        return true;
    }

Open in new window


Thanks to all who had a look at this for me.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to dynamically set the form action using jQuery.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question