Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

jQuery SmartWizard with DevXpress ASPxCallback

Posted on 2013-12-18
4
Medium Priority
?
719 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

926 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