tags:

views:

108

answers:

1

The code below does not render in my ASP.NET page, and on click of the button my page posts back.

Sys dot WebForms dot PageRequestManager dot _initialize('ScriptManager1', document dot getElementById('form1')); Sys dot WebForms dot PageRequestManager dot getInstance() dot _updateControls(['tUpdatePanel1'], [], [], 90);

although i see the code below at the bottom of the page

Sys dot Application dot initialize();

I have a scriptmanager and an updatepanel in the page. The updatepanel contains a label and a button in the contenttemplate section. On click of the button the label is supposed to display some text.

I am using Visual Studio 2005 and I have installed the ASP.NET AJAX extensions. I have referenced System.Web.Extensions and System.Web in my project and I am using a WebApplication.

I have also copied the entries below in my config file

Please help Thanks

A: 

removed the tag xhtmlConformance mode="Legacy" from my web.config...

msdn.microsoft.com/en-us/library/bb386454.aspx
weblogs.asp.net/scottgu/archive/2006/12/10/gotcha-don-t-use-xhtmlconformance-mode-legacy-with-asp-net-ajax.aspx