This is my aspx code:
<%
@ Page Language="vb" AutoEventWireup="false" CodeBehind="Telerik.aspx.vb" Inherits="WebApplication1.Telerik" %>
<%
@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!
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 runat="server">
<title>WebForm1</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1"/>
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1"/>
<meta name="vs_defaultClientScript" content="JavaScript"/>
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"/>
<script type="text/javascript" language="javascript">
function openRadWin() {
radopen(
"http://www.microsoft.com", "RadWindow1");
}
</script>
</
head>
<
body ms_positioning="GridLayout">
<form id="Form1" method="post" runat="server">
<telerik:RadScriptManager ID="ScriptManager" runat="server"></telerik:RadScriptManager>
<telerik:RadWindowManager ID="RadWindowManager1" runat="server">
<Windows>
<telerik:RadWindow ID="RadWindow1" runat="server" Behavior="Maximize"></telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
<asp:Button ID="btn" runat="server" OnClick="openRadWin()" Text="test" />
</form>
</
body>
</
html>
This is the compiler error description:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30456: 'openRadWin' is not a member of 'ASP.telerik_aspx'.
Source Error:
|
Source File: C:\inetpub\wwwroot\WebApplication1\Telerik.aspx Line: 28
|