Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

jQuery SmartWizard with DevXpress ASPxCallback

Posted on 2013-12-18
4
Medium Priority
?
714 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Google Certified Professional - Cloud Architect

This course (1 of 3) is designed to help students who are interested in Google Cloud Platform (GCP) to become familiar with the platform, navigate the console and learn its capabilities. It will also prepare students for the Google Cloud Architect certification exam.

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

721 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