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

RadAjaxManager and Prototype.js

1 Answer 72 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Philippe GRACA
Top achievements
Rank 1
Philippe GRACA asked on 17 Mar 2009, 10:56 AM
Hello
it seems that Prototype is causing issues with the RadAjaxManager (2009.1)

here is a simple page
html xmlns="http://www.w3.org/1999/xhtml"
<head runat="server"
  <title>test</title> 
  <script type="text/javascript" src='http://www.prototypejs.org/assets/2008/9/29/prototype-1.6.0.3.js' /> 
</head> 
<body> 
  <form id="form1" runat="server"
  <telerik:RadScriptManager ID="rsm" runat="server"/> 
  <telerik:RadAjaxManager ID="ram" runat="server" EnableAJAX="true">  
    <AjaxSettings> 
      <telerik:AjaxSetting AjaxControlID="btUpd"
        <UpdatedControls> 
          <telerik:AjaxUpdatedControl ControlID="lb"></telerik:AjaxUpdatedControl> 
        </UpdatedControls> 
      </telerik:AjaxSetting> 
    </AjaxSettings> 
  </telerik:RadAjaxManager> 
  <asp:TextBox ID="txtFrom" runat="server" Width="322px" MaxLength="500"></asp:TextBox> 
  <asp:Button ID="btUpd" runat="server" Text="Update" OnClick="btUpd_Click" /> 
    <br /> 
    <asp:Label ID="lb" runat="server" /> 
  </form> 
</body> 
</html> 
This is causing the following javascript error in the embedded resource MicrosoftAjax.js

this._form is null (on line 15)
Type.registerNamespace("Sys.WebForms");S...Sys.UI._UpdateProgress",Sys.UI.Control);

and

ids is null (on line 2385)
for(var i=0;i<ids.length;i++){
This is really annoying since everything was working fine before i update to the latest version
Regards
Philippe


1 Answer, 1 is accepted

Sort by
0
Philippe GRACA
Top achievements
Rank 1
answered on 17 Mar 2009, 01:40 PM
Please discard this
The issue only happens when a RadInputManager is added into the page like explained in this thread

http://www.telerik.com/community/forums/aspnet-ajax/input/radinputmanager-and-prototype-incompatibility.aspx



Tags
Ajax
Asked by
Philippe GRACA
Top achievements
Rank 1
Answers by
Philippe GRACA
Top achievements
Rank 1
Share this question
or