Solved

jQuery SmartWizard with DevXpress ASPxCallback

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now