I have SearchPage which has a View button. On the click event of it I open a new WebPage (FormViewer) using the RadWindow. The other page which has alertWindow button. I have written a simple funtion on the click event. When i click the button nothing happens. Its suppose to show a alert.
This is the page which gets open as a modal pop up.
<%
@ Page Language="C#" AutoEventWireup="true" Codebehind="FormViewer.aspx.cs" Inherits="CFS.CSES.Web.UI.WebPages.Forms.FormViewer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Untitled Page</title>
</head>
<
body id="formViewerBody" bgcolor="white">
<script language="javascript" type="text/javascript">
function VerifyControl()
{
alert('
hello');
}
</script>
<form id="form1" runat="server" >
<div>
<input type="button" id="alertWindow" value="Alert" onclick="VerifyControl();"/>
</div>
</form>
</
body>
</
html>