Solved

jQuery SmartWizard with DevXpress ASPxCallback

Posted on 2013-12-18
4
697 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

856 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