I have a javascript function from where I am trying to call the serverside function WebSchedule.Client.RadGrid1_SelectedIndexChanged
. This is the code:
<script type="text/javascript">
function RowSelected(sender, args)
{
var dataKeyValue = args.getDataKeyValue("Order_No");
document.getElementById("txtOrderno").value = dataKeyValue;
WebSchedule.Client.RadGrid1_SelectedIndexChanged(sender, args);
}
</script>
However, I get an error "WebSchedule is undefined". What am I doing wrong?