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...Upgrading DNN P...Upgrading DNN P...Upgraded 5.0 to 5.6 CSS no longer workingUpgraded 5.0 to 5.6 CSS no longer working
Previous
 
Next
New Post
3/24/2011 11:35 PM
 
I had my webhost provider, 3Essentials.com, upgrade my DNN Installation from 5.0 to 5.6.1.  Now my website doesn't recognize SOME of my CSS formatting.

I have several simple modules that simply display SQL data in a standard asp:GridView.  I have my CSS file for formatting these grids located in httpdocs\_assets\css\grid.css. 

Since the upgrade to 5.6, the grids show data OK, but, with what appears to be no formatting.  Why aren't my "class" declarations working anymore?  I've pasted part of the ASCX file from just one of the modules. Why isn't <div class="grid"> recognized anymore?
 
Thank You.

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="RptEquipment.ascx.cs"

Inherits="RptEquipment" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

 

 

<div class="grid">

<asp:UpdatePanel ID="udpEquipment" runat="server" UpdateMode="Conditional">

<ContentTemplate>

<div align="right">

<asp:Label ID="lblContactCode" runat="server" Text="Contact Code:" Font-Size="Small"></asp:Label>

<asp:DropDownList ID="ddlContactCode" runat="server" AutoPostBack="True"

OnDataBound="ddlContactCode_DataBound" OnSelectedIndexChanged="ddlContactCode_SelectedIndexChanged" >

</asp:DropDownList>&nbsp;&nbsp;&nbsp;&nbsp;

 

<asp:Label ID="lblUPSINumber" runat="server" Text="UPSI Number:" Font-Size="Small"></asp:Label>

<asp:DropDownList ID="ddlUpsino" runat="server" AutoPostBack="True" DataSourceID="SqlUpsino"

DataTextField="upsino" DataValueField="upsino" OnDataBound="ddlUpsino_DataBound"

OnSelectedIndexChanged="ddlUpsino_SelectedIndexChanged" >

</asp:DropDownList>

<asp:Button ID="btnReset" CssClass="button" runat="server" Text="Reset" OnClick="btnReset_Click" />

<br /><br />

<asp:Label ID="lblSubName" runat="server" Text="Sub Name:" Font-Size="Small"></asp:Label>

&nbsp;&nbsp;&nbsp;<asp:TextBox ID="txtSubName" runat="server" Wrap="False" ></asp:TextBox>

&nbsp;&nbsp;&nbsp;&nbsp;

<asp:Label ID="lblCoEquipNo" runat="server" Text="Co. Equip. No.:" Font-Size="Small"></asp:Label>

&nbsp;<asp:TextBox ID="txtCoEquipNo" runat="server" Wrap="False"></asp:TextBox>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

<asp:Label ID="lblSerialNo" runat="server" Text="Serial No.:" Font-Size="Small"></asp:Label>

&nbsp;<asp:TextBox ID="txtSerialNo" runat="server" Wrap="False"></asp:TextBox>

 

<asp:Button ID="btnApply" CssClass="button" runat="server" Text="Apply" OnClick="btnApply_Click" Width="54" />

<br /><br />

<div align="center">

<asp:Label ID="lblFilterBy" runat="server" Text="Filter list by one, two, or all three of the criteria above." Font-Bold="True" ForeColor="#3333CC" BackColor="#CCCCCC" BorderStyle="Outset" BorderWidth="2" BorderColor="Red" Width="375"></asp:Label>

</div>

</div><br />

<asp:GridView ID="gvEquipment" runat="server"

DataSourceID="SqlEquipmentWithContactCode" OnRowDataBound="gvEquipment_RowDataBound"

AutoGenerateColumns="False" AllowPaging="True" AllowSorting="True" CssClass="datatable"

CellPadding="0" BorderWidth="0px" GridLines="None" EnableModelValidation="True"

Caption="Equipment List" PageSize="15">

<PagerStyle CssClass="pager-row" />

<RowStyle CssClass="row" />

<Columns>

<asp:TemplateField HeaderText="Upsino" SortExpression="Upsino">

<ItemTemplate>

<asp:HyperLink ID="hlUpsino" runat="server" NavigateUrl='<%# getlink(Eval("Upsino")) %>'>

<asp:Label ID="lblUpsino" runat="server" Text='<%# Bind("Upsino") %>'></asp:Label>

</asp:HyperLink>

</ItemTemplate>

</asp:TemplateField>

<asp:BoundField DataField="Sub Name" HeaderText="Sub Name" ReadOnly="true" SortExpression="Sub Name" />

<asp:BoundField DataField="Company Equip No" HeaderText="Company Equip No" ReadOnly="true" SortExpression="Company Equip No" />

<asp:BoundField DataField="Manufacturer" HeaderText="Manufacturer" ReadOnly="true" SortExpression="Manufacturer" />

<asp:BoundField DataField="Serial No" HeaderText="Serial No" ReadOnly="true" SortExpression="Serial no" />

<asp:BoundField DataField="Gallons" HeaderText="Gallons" ReadOnly="true" SortExpression="Gallons" />

<asp:BoundField DataField="Fluid Type" HeaderText="Fluid Type" ReadOnly="true" SortExpression="Fluid Type" />

<asp:BoundField DataField="Mfg Date" HeaderText="Mfg Date" ReadOnly="true" SortExpression="Mfg Date" />

<asp:BoundField DataField="Equipment Type" HeaderText="Equipment Type" ReadOnly="true" SortExpression="Equipment Type" />

<asp:BoundField DataField="High Voltage" HeaderText="High Voltage" ReadOnly="true" SortExpression="High Voltage" />

<asp:BoundField DataField="Low Voltage" HeaderText="Low Voltage" ReadOnly="true" SortExpression="Low Voltage" />

<asp:BoundField DataField="KVA Rating" HeaderText="KVA Rating" ReadOnly="true" SortExpression="KVA Rating" />

</Columns>

<PagerSettings NextPageText=">" PreviousPageText="<" Mode="NumericFirstLast" PageButtonCount="7"

FirstPageText="«" LastPageText="»" />

</asp:GridView>

</ContentTemplate>

</asp:UpdatePanel>

</div>

 
New Post
3/25/2011 3:59 AM
 
Link your CSS file directly using <link> construction

Papayas DnnAutoUpgrade - automatic DotNetNuke upgrade without any problems!
www.papayasdnn.com
 
New Post
3/25/2011 6:44 AM
 
Papayas,

Can you explain further?  I do not know what you mean by "Link your CSS file directly using <link> construction.

And, is this a new requirement of DNN 5.6?  I would like to know exactly the cause of why it was working fine in DNN 5.0 and now, after upgrading to 5.6 it simply stops working.  Why?
 
New Post
3/25/2011 7:57 AM
 
Papayas,

Disregard my last post.  I read up on how to use the <link> tag in my XHTML.  And I put the tag shown below in all  pages that had the grid that wasn't working.  That fixed it just fine.  Thank you again.

Now here's the code I used:

<head>

     <link href="../../_assets/css/grid.css" rel="Stylesheet" type="text/css" />

      <title></title>

</head>



 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgraded 5.0 to 5.6 CSS no longer workingUpgraded 5.0 to 5.6 CSS no longer working


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