RadWizard Next button when clicked IsPostBack = False

7 posts, 1 answers
  1. Jon
    Jon avatar
    53 posts
    Member since:
    Oct 2013

    Posted 22 Dec 2014 Link to this post

    I have a standard RadWizard. It is within an RadUpdatePanel. On page load I have a chunk of code.... Product is a global Object

    If Not IsPostBack Then
        'do something
    *   Session("Product") = Product
    Else
        'do something else
    *   If Not isNothing(Session("Product")) Then
            Product = Session("Product")
        End If
    End

    * = Breakpoint

    I have placed a breakpoint within 'do something' and one within 'do something else'.

    When I run the page the 'do something' code runs as expected. The 'do something else' is not run - as it's not a postback this is correct.

    Whenever I click the Next button of the RadWizard the 'do something' code runs - hovering over IsPostback shows that it's value is FALSE... but it should surely be TRUE. If I continue from this breakpoint the 'do something else' code runs - hovering over IsPostback now shows it's value to be TRUE.

    Why are both the Not IsPostback and the IsPostback code executed when the Next button is fired?
  2. Plamen
    Admin
    Plamen avatar
    2729 posts

    Posted 23 Dec 2014 Link to this post

    Hello Jon,

    The scenario seems quite unusual but I could not observe it at my side- would you please share the exact mark up of RadWizard that you use so we could inspect it and be more helpful. 

    Regards,
    Plamen
    Telerik
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jon
    Jon avatar
    53 posts
    Member since:
    Oct 2013

    Posted 23 Dec 2014 in reply to Plamen Link to this post

    Plamen, I have submitted a support ticket with an attached project. Support Ticket No:891829. Thanks
  5. Answer
    Plamen
    Admin
    Plamen avatar
    2729 posts

    Posted 24 Dec 2014 Link to this post

    Hello,

    I could not replicate the issue at my side and it came out as an issue connected with the version of the Telerik dlls used in the project.

    Regards,
    Plamen
    Telerik
  6. Dimi
    Dimi avatar
    8 posts
    Member since:
    Nov 2010

    Posted 16 Jan 2015 in reply to Plamen Link to this post

    Observed same behavior with version 2014.3.1002.45.
    Official release version 2014.3.1209.45 (Web.UI.Dll) solves the problem.
  7. ALAN
    ALAN  avatar
    1 posts
    Member since:
    Dec 2014

    Posted 13 Feb 2015 Link to this post

    I have the same problem here. When you click Next can not validate the fields with RequiredFieldValidator. I tried to upgrade to the latest version and not solved my problem.
  8. Plamen
    Admin
    Plamen avatar
    2729 posts

    Posted 16 Feb 2015 Link to this post

    Hello,

    I have tested the described scenario and it worked correctly both at my side and on our online demos.

    If you still observe the issue please share the exact code that you are using so we could inspect it and be more helpful with a possible solution.

    Regards,
    Plamen
    Telerik
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017