XXX.master
telerik:RadScriptManager ID="RadScriptManager1" runat="server"
EnablePageMethods="True" ScriptMode="Debug" EnableScriptCombine="False">
XXX.aspx
<telerik:RadCodeBlock ID="RadCodeBlock" runat="server">
<script type="text/javascript">
function nextButtonMouseOver(sender, args) {
var index = $get("<%= CurrentIndex.ClientID %>").value;
PageMethods.GetNextOrPrevious(true, index, onSuccess)
}
</script>
</telerik:RadCodeBlock>
XXX.cs
[WebMethod]
public static string GetNextOrPrevious(Boolean isNext, int index)
{
}