WebSplitter and DOCTYPE

1 reply. Last post: October 27, 2010 5:13 PM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hi all,

it seems to me that WebSplitter works only with <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">.

When I try to use one of

  • <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  • <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  • <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

the web splitter is not correctly rendered, the handler is at the top of the page and I cannot drag the splitter, see the snapshot in attachment.  Below the code I used:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebSplitterTest.aspx.cs" Inherits="WebUITest.WebSplitterTest" %>

<%@ Register assembly="ISNet.WebUI.WebDesktop" namespace="ISNet.WebUI.WebDesktop" tagprefix="ISWebDesktop" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html >
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table cellpadding="0" cellspacing="0" style="height: 100%; width: 100%; table-layout:fixed;">
<tr>
<td style="width: 30%">
 
</td>
<td>
<ISWebDesktop:WebSplitter ID="WebSplitter1" runat="server" >
<SplitterStyle>
<Active BaseStyle="Normal" BackColor="Black"></Active>
<Over BaseStyle="Normal" BackColor="#404040"></Over>
<Normal BackColor="#e4ecf7" Overflow="Hidden"
OverflowX="Hidden" OverflowY="Hidden"></Normal>
</SplitterStyle>
</ISWebDesktop:WebSplitter>
</td>
<td> </td>
</tr>
</table>
</div>
</form>
</body>
</html>

How can I make the WebSplitter works with this doctype?

Thanks in advance

Vince

1 attachment
All times are GMT -5. The time now is 1:31 AM.
Previous Next