PDA

View Full Version : [CLOSED] HTMLs are not rendering correctly



Fahd
Sep 05, 2012, 8:14 PM
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 :
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>

geoffrey.mcgill
Sep 05, 2012, 9:06 PM
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 :
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.

supera
Sep 05, 2012, 9:12 PM
Hi!!!

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

best regards

Fahd
Sep 05, 2012, 9:18 PM
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.

For me, your sample renders correctly. A large bold "Welcome" is rendered to the page.

Fahd
Sep 05, 2012, 9:21 PM
Hi supera,
What is SVN?

Thanks!


Hi!!!

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

best regards

Vladimir
Sep 05, 2012, 10:24 PM
Please update from
http://svn.ext.net/premium/branches/2.1

Fahd
Sep 06, 2012, 2:26 PM
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?20805-CLOSED-MultiLevel-Gridpanel-online-example-not-showing-all-levels-level-data-gets-cut-off&p=89839#post89839

Thanks!


Please update from
http://svn.ext.net/premium/branches/2.1

Vladimir
Sep 06, 2012, 2:36 PM
I cannot reproduce the issue with latest code
Please ensure that you use latest source code

supera
Sep 06, 2012, 2:51 PM
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.

Fahd
Sep 06, 2012, 6:53 PM
Ok. I upgraded to 2.1.0.18409 and it is now fixed. The issue was found in version 2.1.0.17760
Thanks!


I cannot reproduce the issue with latest code
Please ensure that you use latest source code

Daniil
Sep 07, 2012, 7:02 AM
As far as I know the last numbers, i.e. "18409" and "17760" depends on time when you build the dlls. So, they don't 100% give exactly the version you are actually using. It would be best to say about SVN revision or the version of the official release.

Anyway, very good that you problem is resolved!