Click here to Skip to main content
15,910,981 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello friends,


I am getting above error when i go to auto post back for text box text changed event.
when i remove the update panel then its working fine.
Please help me.
Posted

1 solution

Have you added in you page a script manager in your page ?

XML
<asp:ScriptManager ID="ScriptManager1" runat="server">
   </asp:ScriptManager>
 
Share this answer
 
Comments
jagadeesh123qqq 15-Jul-11 7:14am    
ya, when i remove script manager and update panel,its working fine but in my application update panel has to be there for performance
Yuri Vital 15-Jul-11 9:13am    
did you use ajaxControlToolKit ?
Yuri Vital 15-Jul-11 9:15am    
Post the code of your aspx...
jagadeesh123qqq 16-Jul-11 1:04am    
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

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

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<input type="hidden" id="MicrosoftILITWebEmbedInfo" attachMode="optout" value="" />

<%-- <script src="Kannada.js" type="text/javascript"></script>
--%><script type="text/javascript" src="http://ilit.microsoft.com/bookmarklet/script/kannada.js" defer="defer"></script>

</head>
<body>



<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">

<!-- Microsoft Indic Language Input Tool embed code -->
<div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="true">
<%--<Triggers ><asp:PostBackTrigger ControlID="TxtSubmitPhoto" /></Triggers>--%>

<contenttemplate>


Welcome to the Registration Page


<p>

First Name: <asp:TextBox runat="server" ID="txtFirstName" Width="400px" />
<br />
<br />
Last Name: <asp:TextBox runat="server" ID="txtLastName" />
<br />
<br />
Password:
<asp:TextBox runat="server" ID="txtPassword" TextMode="Password" />
<br />
<br />
Address: <asp:TextBox runat="server" ID="txtAddress" TextMode="MultiLine" Height="100" Width="200" />
<br />
<br />
English Text: <asp:TextBox ID="txtEnglishText" runat="server" MicrosoftILITWebAttach="false" AutoPostBack="true" CausesValidation="true" />
<br />
<br />
<asp:Button ID="BtnSave" runat="server" Text="Save" />
</p>
<p>
<!-- Microsoft Indic Language Input Tool attribution image link -->
<img style="border: 0px" alt="Transliteration by Microsoft" src="http://ilit.microsoft.com/bookmarklet/images/attribution.png" visible="false">
</p>

</div>

</form>

</body>
</html>
Yuri Vital 19-Jul-11 3:35am    
> your script manager tag are not closed ?

> In the updatepanel the tag "<contenttemplate>" is missing !

See here
http://msdn.microsoft.com/fr-fr/library/system.web.ui.updatepanel.contenttemplate.aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900