[CLOSED] HTMLs are not rendering correctly

Page 1 of 2 12 LastLast
  1. #1

    [CLOSED] HTMLs are not rendering correctly

    Hi,
    The HTMLs are not rendering correctly in the HTML property - the values assigned to it is displayed on the screen. In my case, "b><font size = 3>Welcome!</b><br><br/>" are being displayed. Attached is the screenshot showing the issue :
    Click image for larger version. 

Name:	HTMLissue.jpeg 
Views:	117 
Size:	43.4 KB 
ID:	4731
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Dashboard.aspx.cs" Inherits="Web.Pages.Dashboard" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Dashboard</title>
    </head>
    <body>
        <ext:ResourceManager runat="server" />
        <%----------------------- TOP ROW: ANNOUNCEMENTS -----------------------------%>
        <center>
            <ext:FieldSet runat="server" Width="500" Height="260" Title="<i><h2>Welcome</h2></i>"
                StyleSpec="margin-top: 75px">
                <Items>
                    <ext:FormPanel ID="FormPanel1" runat="server" Title="Application" LabelWidth="110"
                        ShadowMode="Sides" Shadow="true" Width="450" Height="230" StyleSpec="padding: 30; background-color: F1F1F1;"
                        Icon="BasketAdd" Padding="5" Layout="Form">
                        <Items>
                            <ext:Panel ID="pnlCellOne" runat="server" Height="200" AutoScroll="true" Border="false"
                                Shadow="true" ShadowMode="Drop" BodyStyle="padding: 4px;" StyleSpec="margin-right: 4px;">
                                <Items>
                                    <ext:Label ID="LabelAnnouncement" runat="server" Html="<b><font size = 3>Welcome!</b><br><br/>" />
                                </Items>
                            </ext:Panel>
                        </Items>
                    </ext:FormPanel>
                </Items>
            </ext:FieldSet>
        </center>
    </body>
    </html>
    Last edited by Daniil; Sep 07, 2012 at 6:02 AM. Reason: [CLOSED]
  2. #2
    Quote Originally Posted by Fahd View Post
    Hi,
    The HTMLs are not rendering correctly in the HTML property - the values assigned to it is displayed on the screen. In my case, "b><font size = 3>Welcome!</b><br><br/>" are being displayed. Attached is the screenshot showing the issue :
    Click image for larger version. 

Name:	HTMLissue.jpeg 
Views:	117 
Size:	43.4 KB 
ID:	4731
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Dashboard.aspx.cs" Inherits="Web.Pages.Dashboard" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Dashboard</title>
    </head>
    <body>
        <ext:ResourceManager runat="server" />
        <%----------------------- TOP ROW: ANNOUNCEMENTS -----------------------------%>
        <center>
            <ext:FieldSet runat="server" Width="500" Height="260" Title="<i><h2>Welcome</h2></i>"
                StyleSpec="margin-top: 75px">
                <Items>
                    <ext:FormPanel ID="FormPanel1" runat="server" Title="Application" LabelWidth="110"
                        ShadowMode="Sides" Shadow="true" Width="450" Height="230" StyleSpec="padding: 30; background-color: F1F1F1;"
                        Icon="BasketAdd" Padding="5" Layout="Form">
                        <Items>
                            <ext:Panel ID="pnlCellOne" runat="server" Height="200" AutoScroll="true" Border="false"
                                Shadow="true" ShadowMode="Drop" BodyStyle="padding: 4px;" StyleSpec="margin-right: 4px;">
                                <Items>
                                    <ext:Label ID="LabelAnnouncement" runat="server" Html="<b><font size = 3>Welcome!</b><br><br/>" />
                                </Items>
                            </ext:Panel>
                        </Items>
                    </ext:FormPanel>
                </Items>
            </ext:FieldSet>
        </center>
    </body>
    </html>
    For me, your sample renders correctly. A large bold "Welcome" is rendered to the page.
    Geoffrey McGill
    Founder
  3. #3
    Hi!!!

    I had this problem... I update from SVN and solved!

    best regards
  4. #4
    Hi,
    As you can see on my screenshot, it is an issue on my users browers(IE 8.0.6). What do you suggest for a fix? What are the alternative solutions?

    Thanks.
    Quote Originally Posted by geoffrey.mcgill View Post
    For me, your sample renders correctly. A large bold "Welcome" is rendered to the page.
  5. #5
    Hi supera,
    What is SVN?

    Thanks!

    Quote Originally Posted by supera View Post
    Hi!!!

    I had this problem... I update from SVN and solved!

    best regards
  6. #6
  7. #7
    If you are suggesting to upgrade to EXT v2.1, then I have to tell you that this happens only after I upgraded to use 2.1. It was working fine in 2.0.
    I had to upgrade to use 2.1 for fix another problem I was having in 2.0 - details of that issue can be found here: -

    http://forums.ext.net/showthread.php...9839#post89839

    Thanks!

    Quote Originally Posted by Vladimir View Post
  8. #8
    I cannot reproduce the issue with latest code
    Please ensure that you use latest source code
  9. #9
    Hi Fahd

    Yes, the issue starts with 2.1... I had this problem after update from SVN (subversion) too... But I created a thread and Ext.net support solved this and update SVN.
  10. #10
    Ok. I upgraded to 2.1.0.18409 and it is now fixed. The issue was found in version 2.1.0.17760
    Thanks!

    Quote Originally Posted by Vladimir View Post
    I cannot reproduce the issue with latest code
    Please ensure that you use latest source code
Page 1 of 2 12 LastLast

Similar Threads

  1. [CLOSED] RowLayout Not Rendering Correctly When Some Rows Are Not Visible
    By logicspeak in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 10, 2012, 9:10 PM
  2. Tooltip CSS not rendering correctly
    By Tbaseflug in forum 1.x Help
    Replies: 1
    Last Post: Oct 24, 2011, 6:36 PM
  3. [CLOSED] Dynamic controls are not rendering correctly
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Mar 16, 2011, 9:05 PM
  4. [CLOSED] TreeGrid not rendering correctly after nodes/columns change
    By jmcantrell in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jul 07, 2010, 6:52 PM
  5. Combo not correctly aligned on IE
    By marcossoft in forum 1.x Help
    Replies: 2
    Last Post: Feb 16, 2009, 6:53 PM

Posting Permissions