I have a standard RadWizard. It is within an RadUpdatePanel. On page load I have a chunk of code.... Product is a global Object
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?
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?
6 Answers, 1 is accepted
0
0

Jon
Top achievements
Rank 1
answered on 23 Dec 2014, 02:36 PM
Plamen, I have submitted a support ticket with an attached project. Support Ticket No:891829. Thanks
0
0

Dimi
Top achievements
Rank 1
answered on 16 Jan 2015, 09:55 PM
Observed same behavior with version 2014.3.1002.45.
Official release version 2014.3.1209.45 (Web.UI.Dll) solves the problem.
Official release version 2014.3.1209.45 (Web.UI.Dll) solves the problem.
0

ALAN
Top achievements
Rank 1
answered on 13 Feb 2015, 09:36 PM
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.
0
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
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