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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Need Help Displaying TabContainer in IENeed Help Displaying TabContainer in IE
Previous
 
Next
New Post
12/2/2007 11:45 AM
 

When I add an AjaxControlToolkit TabContainer to a module, it does not display properly in IE6 or IE7, but it does in Firefox.

You can see the problem here:

http://www.websmithing.com/portal/Tabs/tabid/64/Default.aspx

Here is the code:

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Tabs.ascx.cs" Inherits="DesktopModules_TabTest_Tabs" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="1"
    Height="200px" Width="200px">
    <cc1:TabPanel runat="server" HeaderText="TabPanel1" ID="TabPanel1">
    </cc1:TabPanel>
    <cc1:TabPanel ID="TabPanel2" runat="server" HeaderText="TabPanel2">
    </cc1:TabPanel>
</cc1:TabContainer>


using System;
using DotNetNuke;
using DotNetNuke.Entities.Modules;

public partial class DesktopModules_TabTest_Tabs : PortalModuleBase
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (DotNetNuke.Framework.AJAX.IsInstalled())
        {
            DotNetNuke.Framework.AJAX.RegisterScriptManager();
        }
    }
}



thanks
Nick

 
New Post
12/2/2007 5:57 PM
 

I have some more information. I built a very simple user control and put it onto an aspx page and had no problems with viewing it in IE. You can see it here:

http://www.websmithing.com/portal/TabPanel.aspx

So it somehow seems to be a problem related to DotNetNuke...

Nick

 
New Post
12/5/2007 5:07 AM
Accepted Answer 

I want to thank  David Anson of Microsoft for finding the solution to this problem. Here was our thread:

Thank you David, that was exactly the problem. The TabContainer is displaying properly now. My menus are a little bit off in DotNetNuke, but I'm going to work on fixing the skin rather than going back to the other doctype.

For those who want to know, here is where the fix needs to happen. In Default.aspx.vb at about line 259, I changed the DocTypeValue from:

'Dim DocTypeValue As String = "<!DOCTYPE HTML PUBLIC ""-//W3C//DTD HTML 4.0 Transitional//EN"">"

to:

Dim DocTypeValue As String = "<!DOCTYPE html PUBLIC ""-//W3C//DTD XHTML 1.0 Transitional//EN"" "" http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"">"

once again, thank you!
Nick

- Hide quoted text -



On Dec 4, 2007 10:11 PM, David Anson wrote:

The DOCTYPEs are subtly different and I'm wondering if the problematic one is leaving the browser in quirks mode (according to my understanding of the last paragraph of http://msdn2.microsoft.com/en-us/library/ms535242.aspx). If so, that could be the problem as we don't support quirks mode with the Toolkit. Maybe try switching to the same DOCTYPE for both to see if that helps?

 
New Post
12/5/2007 1:46 PM
 

I've already found out that by changing the DOCTYPE from quirks mode, the menus are not working right, I will work on that. But are there any other serious consequences of changing the DOCTYPE that I am unaware of?

thanks

Nick

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Need Help Displaying TabContainer in IENeed Help Displaying TabContainer in IE


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