Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIScrollTop property  for non-admin or non-host account.ScrollTop property for non-admin or non-host account.
Previous
 
Next
New Post
10/13/2006 11:40 AM
 

It appears that ScrollTop property is always reset to 0 if the person using the portal is using a non admin or non host account on DotNetNuke 4.3.5.

Can some please help? It works fine on 04.03.04


 
New Post
10/18/2006 9:19 AM
 

I am not seeing the same thing.  I go to www.dotnetnuke.com.  Make sure I am logged out.  Go to the Login page.  Make my browser small so have to scroll down to the login button.  Type in a bad password, click login.  The page refreshes at the same scroll position I was prior to the post.

 


 
New Post
10/30/2006 10:28 AM
 

Hi Jon, I believe I isolated the problem but I don't know how to solve it. So here it is.

1) Please create a blank module and add a command button or a checkbox that has postback enable.
2) Created a blank page that is visible to all Users and only add this module to that page .
3) Go into this module properties, and set them up as follows. 
         a) Set visibility to [None]
         b) Make sure  Display Container is [Unchecked]

4) With admin account check or uncheck, or hit the command on the page. Result= The page will scroll to the previous location.
5) Logoff and run the same test. Result = The page will scroll to the top. It appears as if the ScrollToTop value is reset.

You may go this site and click on [Go by the Search TextBox]
http://www.dotnetnuke.com/Community/DotNetNukeCommunityModulesV34/tabid/794/Default.aspx

 

Now the reason the login module still works if setup as previously describe is because of the piece of code in it
SetFormFocus(txtPassword) and  SetFormFocus(txtUsername)

 

SAMPLE MODULE TO USE

<%@ Control language="C#" Inherits="FASEB.Registration.UI.AnnualMeeting2.RegistrationTEST" CodeFile="TEST.ascx.cs" AutoEventWireup="true"%>

<table>
         <
tr style="height: 300px;" valign="bottom">
               <
td>
                     
<asp:CheckBox ID="CheckBox1" runat="server" AutoPostBack="True" OnCheckedChanged="CheckBox1_CheckedChanged" Text="Auto Post Back Check" /><br />

<asp:Button ID="Button1" runat="server" Text="Click Me!!!" />&nbsp;

</td>
</tr>
</
table>

 

Thank you for your effort.

 
New Post
10/30/2006 4:43 PM
 

This will happen if dnn.js file is not loaded, which explains why when you disable the min/max functionality it occurs.  Also why when you are logged in as admin it works since the drag-n-drop functionality loads it.

Now you know the why behind it....   the question becomes should the clientapi be loaded on every page to support scrollTop?  Should we not use the clientAPI to support scrolltop?  I don't know the answer, but you should be able to workaround it by adding a ref to the file in your skin.


 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIScrollTop property  for non-admin or non-host account.ScrollTop property for non-admin or non-host account.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out