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

[Solved] AjaxPro Not Working After Adding AjaxManager in the Page

1 Answer 89 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Ravi Keshwani
Top achievements
Rank 1
Ravi Keshwani asked on 07 Aug 2009, 05:28 AM
Hello Team.

    I have a radgrid which has a usercontrol in the edititemtemplate. In usercontrol I am using AjaxPro.dll which does the serverside validation with Ajax.

 

<telerik:RadScriptBlock ID="RadCodeScrip1" runat="server">

 


 

 

function CheckDuplicateRole(RoleName)

 

{

 

var OldRoleName= document.getElementById('<%= OldRoleName.ClientID %>').value;

 

if(RoleName.value != OldRoleName)

 

{

 

 

 

var isdup=Role.IsDuplicate(RoleName.value);

 

 

 

 

if(isdup.value==true)

 

{

alert(

"Role already Exists");

 

document.getElementById(

'<%= txtRoleName.ClientID %>').value="";

 

 

 

 

}

}

 

}

 

 

</telerik:RadScriptBlock> 

 

 

 

This Code was working until I added RadAjaxManager in the page.
I have added this code under RadScriptBlock but its not working for me


1 Answer, 1 is accepted

Sort by
0
Peter
Top achievements
Rank 1
answered on 11 Aug 2009, 01:50 PM
Hi,

I didn't try this scenario, but I was able to find this blog post, where the author of AjaxPro says that we should not use it for .NET 2.0 and above.

Greetings.
Tags
Ajax
Asked by
Ravi Keshwani
Top achievements
Rank 1
Answers by
Peter
Top achievements
Rank 1
Share this question
or