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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Button click does not work in IE / ok in firefoxButton click does not work in IE / ok in firefox
Previous
 
Next
New Post
10/23/2007 12:06 AM
 

I just created my first new skin whoo hooo!!  Now the login and register buttons don't work in IE but do in Firefox.  When you go to the login page and enter a username and password, it always comes back invalid in IE but works fine in Firefox.  You also have to tab to the login button and hit the enter key.  The mouse click on the button does not fire any event in IE but does in firefox. http://spray-en.csei-usa.com.  I am currently using 4.5 of DNN.  Go to the login page and click register.  You will see that nothing happens.

 

 
New Post
10/23/2007 7:01 PM
 

ok, I figured out the issue.

  • On  my skin, I added a dropdownlist to the <TR> with the login / register links.
  • I put form tags around the whole upper part of the body where the navigation section is because if you don't wrap the whole section in the form tag it throws off the spacing of the images
  • Having the form tags in the skin is what was causing the problem.
  • I removed the form tags and the dropdown list and the problem went away.
  • I need to have this drop down list be part of the skin at the top of the form by the register / login buttons.  What am I doing wrong if this is even possible?  I think it must be since you can have other form controls on a skin as I have seen (search text box...)

Here is the code for my skin page:

<%

@ Control language="vb" CodeBehind="~/admin/skins/skin.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Skins.Skin" %>@ Register TagPrefix="dnn" TagName="LOGO" Src="~/Admin/Skins/Logo.ascx" %>@ Register TagPrefix="dnn" TagName="SOLPARTMENU" Src="~/Admin/Skins/SolPartMenu.ascx" %>@ Register TagPrefix="dnn" TagName="LOGIN" Src="~/Admin/Skins/Login.ascx" %>@ Register TagPrefix="dnn" TagName="USER" Src="~/Admin/Skins/User.ascx" %>@ Register TagPrefix="dnn" TagName="COPYRIGHT" Src="~/Admin/Skins/Copyright.ascx" %>

<

script runat="server">

 

Response.Redirect(

 

Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChangedMe.DropDownList1.SelectedValue)End Sub

 

<

</script>div class="skinwrapper">

 

<script language="JavaScript" type="text/JavaScript">

 

function MM_swapImgRestore() { //v3.0

 

}

 

var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;function MM_preloadImages() { //v3.0

 

 

 

}

 

var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}function MM_findObj(n, d) { //v4.01

 

d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

 

 

 

}

 

var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);if(!x && d.getElementById) x=d.getElementById(n); return x;function MM_swapImage() { //v3.0

 

 

}

 

{

 

 

window.parent.self.status=

 

window.parent.self.status=

 

window.open(

}

 

{

,1)"><img src="<%=SkinPath%>footer_05.gif" name="Image5" border="0"></a> </td>

 

</tr>

 

</table>

 

</

<div class="skinfooter">&copy;<dnn:COPYRIGHT runat="server" id="dnnCOPYRIGHT" CssClass="skinfooter" /></div>div>

 

<%

<%

<%

<%

<%

 
New Post
10/23/2007 8:49 PM
 

You can't put a FORM tag anywhere in a DNN site. Everything within a DNN site is wrapped inside a FORM tag, and you can't nest them


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
10/25/2007 12:26 PM
 

I suspected that and probably should have gone with my gut feeling ....  I removed the form tag and added some code:

Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged
Dim sScript As String = "window.open('" & DropDownList1.SelectedValue & "');"
Page.ClientScript.RegisterStartupScript(Me.GetType(), "ClientScript", sScript, True)
End Sub

and now I am getting the results that I was hoping for and the login button click events still work!!

Thank you for your patience....

Doug

 

 
New Post
10/25/2007 1:57 PM
 

Glad you got the working doug!


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Button click does not work in IE / ok in firefoxButton click does not work in IE / ok in firefox


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