IE WebControls does not render proper XML and TSNS code

I

ist

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?
 
B

bruce barker

the rendering depends on browser detection (via the agent string). the
browsercaps files are probably different on the servers

-- bruce (sqlwork.com)
 
I

ist

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top