3 Answers, 1 is accepted
Hi,
RadWizard does not have a functionality to maintain scroll position. It is rather handled by the Page (Page.MaintainScrollPositionOnPostBack Property) or could be a JavaScript function. I would be able to tell you more if you could share the complete ASPX page.
Regards,
Attila Antal
Progress Telerik
Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).
I haveMaintainScrollPositionOnPostBack set to true in the web.config for other pages. But I want to disable it when I am inside of the wizard. Using the Page directive doesn't work. I tried using the javascript function as in the link https://www.telerik.com/forums/wizard-scroll-to-top-on-next
but one of my wizard steps has a grid with add/edit buttons and the page scrolls to top with those as well. How Can I have the page scroll to top only with the next/previous buttons?
Hi,
If nothing maintains the scroll position, the Pages should always stay at the top and there is no need to implement additional logic. If this is set in the web.config then it will apply to all pages, but disabling it in the Page directive will disable it for that page respectively.
However, you have mentioned that you're using RadGrid. It is possible that the Grid has the SaveScrollPosition enabled and that is maintaining the scroll position. If that is the case the page with RadGrid will scroll down to the ScrollPosition it was left previously.
You will need to decide whether you want to Save ScrollPosition or you not. If you do not want, make sure nothing maintains it. Disable it in the Page directive and also in the RadGrid.
Regards,
Attila Antal
Progress Telerik
Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).
Hi Shivraj,
I just answered your support ticket on the topic and I am pasting my reply here for reference:
The version you are using — 2012.1.x — is over 13 years old and is no longer supported. More importantly, it is vulnerable to multiple critical security issues (including CVEs related to deserialization, encryption, and other attack vectors) that have been addressed in subsequent releases. We strongly recommend upgrading to the latest version 2026-1-421 of Telerik UI for ASP.NET AJAX as soon as possible to ensure your application's security.
Regarding the scrollPosition decimal value issue — this is likely caused by changes in modern browser behavior (newer versions of Chrome, Edge, Firefox, etc.) that now report sub-pixel scroll positions as floating-point numbers. The 2012.x release predates these browser changes and does not handle decimal scroll values. This has been addressed in newer versions of the suite and the RenderMode="Lightweight".
Here is what we recommend:
- Upgrade to the latest version of Telerik UI for ASP.NET AJAX. You can download it from your Telerik account or via NuGet. The upgrade guide is available here: Upgrading Telerik UI for ASP.NET AJAX.
- If after upgrading to the latest version you still experience the issue, please isolate the problem in a small runnable sample project and send it to us so we can investigate further.
