Hi Team,
We upgraded Telerik version from 2012 to 2013.After migration,All "webmethods" calls are failling.we are getting "Authentication Failed" error.The same code is working fine in Telerik version 2012.Our Implementaion is as follows,
In Class1.cs
[WebMethod(enablesession="true")]
Public static string Test(String s)
{
return "Sucess";
}
In Aspx
function OnSuccess(response)
{
alert(response);
}
function OnError(error)
{
alert(error);
}
function CallTest()
{
PageMethods.Test("sample",OnSuccess, OnError);
}
Incase someone has faced a similar issue and fixed it,Could you please share the steps/settings what you have done for fixing this issue.
Thanks in advance,
Raj
We upgraded Telerik version from 2012 to 2013.After migration,All "webmethods" calls are failling.we are getting "Authentication Failed" error.The same code is working fine in Telerik version 2012.Our Implementaion is as follows,
In Class1.cs
[WebMethod(enablesession="true")]
Public static string Test(String s)
{
return "Sucess";
}
In Aspx
function OnSuccess(response)
{
alert(response);
}
function OnError(error)
{
alert(error);
}
function CallTest()
{
PageMethods.Test("sample",OnSuccess, OnError);
}
Incase someone has faced a similar issue and fixed it,Could you please share the steps/settings what you have done for fixing this issue.
Thanks in advance,
Raj