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.
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