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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN hijacks enter key pressDNN hijacks enter key press
Previous
 
Next
New Post
2/8/2010 11:10 AM
 

We are building custom apps on top of DotNetNuke (our apps live in modules). The problem I'm running into is that DNN hijacks the enter key press and takes me to the admin page everytime enter is hit. This is only a problem for users that are admins, but it does get really annoying when I try to submit a form and forget. I've used JQuery to disable the enter key press, but I'l really prefer to avoid doing that. Any suggestions on how to keep DNN from taking every enter key press?

 
New Post
2/19/2010 9:43 AM
 

 I agree.  This is very annoying.  I know it has something to do with the re-structuring of DNN for ASP.Net 3.5, and must be related to a change in the way the page is rendered.  Is there any way to keep the "Admin" link in the upper right from always taking control of the "enter key"?  Many modules allow the use of the enter key to submit the page, but if you are logged in as an Admin/Host, you jump to the Admin tab.  

 
New Post
2/19/2010 11:26 AM
 
This is driving me nuts today. I haven't looked too deep into this yet, because I am working on my own module. However, I'm sure jQuery can give us a temporary fix until DNN corrects it.
 
New Post
2/19/2010 12:25 PM
 

 I did open an issue at the DotNetNuke support site (bug tracker):

http://support.dotnetnuke.com/issue/V...

Issue # DNN-11698

If you have specific steps to help reproduce this error, or if you have suggestions for how to fix this problem, please report it there.

Thanks!

 
New Post
2/19/2010 2:36 PM
 

Thanks guys. I'll keep an eye on that issue and see what happens.

Brad - I've implemented a little jquery thing myself, to at least prevent it from happening. It basically just disables the enter key. Which obviously is less than ideal, but it does keep the annoyance down:

    //prevent DNN from highjacking your page on enter key press
    $(document).keydown(function(e) {
        if (e.keyCode == 13) {
            return false;
        }
    });

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN hijacks enter key pressDNN hijacks enter key press


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