You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
493 B
16 lines
493 B
<%@ Page Language="C#" ASPCOMPAT="TRUE" Debug="true" Inherits="OboutInc.oboutAJAXPage"%>
|
|
<%@ Register TagPrefix="oajax" Namespace="OboutInc" Assembly="obout_AJAXPage" %>
|
|
<script language="C#" runat="server">
|
|
public void ServerShowAlert() {
|
|
// this will show an alert at client side
|
|
ShowAlert("This alert was sent by server");
|
|
}
|
|
|
|
</script>
|
|
|
|
<html>
|
|
<head runat="server">
|
|
<script language="JavaScript">
|
|
function ShowAlert() {
|
|
ob_post.post(null, 'ServerShowAlert', function(){});
|