Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

IE WebControls does not render proper XML and TSNS code

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ist - 13 Mar 2008 17:08 GMT
Hi,
I have a Web Application that uses IE Web Controls for main
navigation. However, the application fails to run on some servers
because of IE Web Controls are not truely rendered.
When I analysed the problem, I have seen that, failing servers somehow
fail to create correct HTML output for IEWC. For example, on server
side code we have:

<%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls" %>
..
<iewc:TabStrip id="LeftMenuTabStrip" CssClass="psTabStripLeftMenu"
runat="server" Width="100%" Orientation="Vertical">
<iewc:Tab DefaultImageUrl="../Images/home7.gif" ID="Home"></iewc:Tab>
</iewc:TabStrip>

And on successful servers, it outputs:

<?XML:NAMESPACE PREFIX="TSNS" />
<?IMPORT NAMESPACE="TSNS" IMPLEMENTATION="/webctrl_client/1_0/
tabstrip.htc" />
<TSNS:TabStrip id="LeftMenuTabStrip" class="psTabStripLeftMenu" ......
.....
<TSNS:Tab ID="Home" defaultImageUrl="../Images/home7.gif">Ev</
TSNS:Tab>
</TSNS:TabStrip>

However, on failing server the output is:

<table cellspacing="0" cellpadding="0" border="0"
id="LeftMenuTabStrip" class="psTabStripLeftMenu"
onclick="fLoadSelection(LeftMenuTabStrip.selectedIndex)" style="width:
100%;">
<tr><td nowrap height="30" bgcolor="'#EEEEEE'" style="height:
30px;border:none;background-color:'#EEEEEE';text-align:left;border-
bottom-width:1px;border-bottom-style:solid;border-bottom-
color:#FFFFFF;border-top-width:1px;border-top-style:solid;border-top-
color:#FFFFFF;font-family:Verdana, Arial, Helvetica, sans-serif;font-
size:11px;font-style:normal;color:#000000;clip:rect(auto auto auto
auto);text-decoration:none;vertical-align:middle;font-
weight:normal;"><font face="Verdana, Arial, Helvetica, sans-serif"
color="#000000"><table border="0" cellspacing="0"
cellpadding="0"><tr><td nowrap><font face="Verdana, Arial, Helvetica,
sans-serif" color="#000000"><img src="../Images/home7.gif" border="0"
align="absmiddle" /></font></td><td nowrap><font face="Verdana, Arial,
Helvetica, sans-serif" color="#000000">Ev</font></td></tr></table></
font></td>

So there is no rendered buttons, only standart hyperlinks (and they
fail since other JavaScript code depends on them)

I have tried, compiling controls, installing precompiled controls,
copying controls from working servers etc. etc. I have put files in
both wwwroot and application root and still did not work.
When I embed rendered HTML code it works fine, however since there are
many files it is not a proper solution :)

What more can I do?
bruce barker - 13 Mar 2008 20:24 GMT
the rendering depends on browser detection (via the agent string). the
browsercaps files are probably different on the servers

-- bruce (sqlwork.com)

> Hi,
> I have a Web Application that uses IE Web Controls for main
[quoted text clipped - 54 lines]
>
> What more can I do?
ist - 13 Mar 2008 22:07 GMT
Hi, I have doubted that too but I have really a simple environment. A
freshly installed server, and computers running IE6 :)

However, can you suggest any specific tag that I have to look in
machine.config?

On 13 Mart, 21:24, bruce barker
<brucebar...@discussions.microsoft.com> wrote:
> the rendering depends on browser detection (via the agent string). the
> browsercaps files are probably different on the servers

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.