This is a migrated thread and some comments may be shown as answers.

Ajax Panel not working for Doctype

3 Answers 44 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
parimal
Top achievements
Rank 1
parimal asked on 05 Dec 2008, 10:09 PM
Hi,

I have a aspx page where we are using below doctype:

<!

 

DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" >

This is needed for functionality as we are building hierarchical HTML table.

If i try to put AjaxPanel, it page is getting hanged.

Please let me know if there is any alternative option for getting the ajax panel work?

regards,

Parimal

 

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 08 Dec 2008, 09:39 AM
Hi Parimal,

As far as I can see, the DOCTYPE is invalid (incomplete) and contains syntax errors (the backslashes). Please try using

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

as provided here:

http://www.w3.org/QA/2002/04/valid-dtd-list.html


By the way, I did not reproduce the browser hang even with your DOCTYPE. Here is my test page:


<%@ Page Language="C#" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server"
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
<title>RadAjax for ASP.NET AJAX</title> 
</head> 
<body> 
<form id="form1" runat="server"
<asp:ScriptManager ID="ScriptManager1" runat="server" /> 
 
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" BackColor="White" Transparency="50" /> 
 
<p>Click on a date to trigger Ajax request.</p> 
 
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" EnableAJAX="true" LoadingPanelID="RadAjaxLoadingPanel1"
    <telerik:RadCalendar ID="RadCalendar1" runat="server" AutoPostBack="true" /> 
</telerik:RadAjaxPanel> 
 
</form> 
</body> 
</html> 
 



Sincerely yours,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
parimal
Top achievements
Rank 1
answered on 10 Dec 2008, 06:37 AM
Hi,

My requirement is to have the 
"DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN" only else the Hierachical HTML table with TR Class=0,1,2,3 will not work.

Can ajax be implemented for this doctype?

regards,

Parimal
0
Dimo
Telerik team
answered on 10 Dec 2008, 09:21 AM
Hi Parimal,

As I said, I tested RadAjax with your DOCTYPE and it works (in IE6, IE7, FF3), eventhough the DOCTYPE is invalid. So there could be something else, which creates problems.

Please try to isolate the problem by removing parts of the page, or send us the hanging page, so that we can inspect it locally.

Kind regards,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Ajax
Asked by
parimal
Top achievements
Rank 1
Answers by
Dimo
Telerik team
parimal
Top achievements
Rank 1
Share this question
or