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

HomeHomeDevelopment and...Development and...Getting StartedGetting StartedFocus on Username on Login Popup using dnnModal.showFocus on Username on Login Popup using dnnModal.show
Previous
 
Next
New Post
10/25/2012 3:00 PM
 

So I took a copy of the DNN login module and made my own login via my external database of users. this all works fine!

i have dnn set up so that I have a login page, so a user must authenticate in order to view anything.

The thing is I wanted that nice popup login page. So I made a login.ascx paege with a login module on it and I included in my page.ascx file a line of code that said if it was the login page to use dnnModal.show to pop up the login window. Got that working.

But here is my problem, in IE 9 (maybe more browsers, not sure), there is a focus set on the Username textbox, which would be fine, BUT the focus is actually on the username box in the BACKGROUND, not in the POPUP. It sets the focus on the wrong box. I tried everything I could think of to set it to the popup box, but no go. In firefox it does not focus on anything so I either want NO focus at all, so the user will click in the username box in the popup, or to focus on the username in the popup oinly (not background)... I do not want to see the cursor blinking in the background of my login popup...

I know I need to have a login module on the page in order to set the login page in DNN, and I know that the login page and the popup use the same skin file...

Can anyone provide any insite into this for me??

here is what it looks like: http://i977.photobucket.com/albums/ae...

Thanks,

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedFocus on Username on Login Popup using dnnModal.showFocus on Username on Login Popup using dnnModal.show


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