PDA

View Full Version : can't get ext to work



chuckdawit
4 Oct 2009, 4:39 PM
hi,
I'm using VS2008 to try ExtJS. I'm going through the tutorial HTML setup and can't get it to work. When I try and call the Ext class no intellisense pops up and when I run the asp page and open firebug I get errors that say: 'reference to undefined property H[F].from'
Does anyone know why?

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ControlsDemo.aspx.cs" Inherits="ControlsDemo" %>

<!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>eDiscoverFree</title>
<script language="javascript" type="text/javascript">
function DoSomething() {
// document.write("hello");
alert("hello again");
}

</script>


</head>
<body>
<form id="form1" runat="server">
<div>

<asp:ScriptManager ID="ScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Path="C:\Users\chuckdawit\Desktop\ext-3.0.0\ext-3.0.0\adapter\ext\ext-base.js" />
<asp:ScriptReference Path="C:\Users\chuckdawit\Desktop\ext-3.0.0\ext-3.0.0\ext-all-degub.js" />
</Scripts>
</asp:ScriptManager>

</div>
<h1>
eDiscoverFree</h1>
<p>
<asp:TextBox ID="TextBox1" runat="server" Width="515px"></asp:TextBox>
</p>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<br />
<input id="Button1" type="button" value="button" onclick="DoSomething()" /><br />
<br />
<br />
</ContentTemplate>
</asp:UpdatePanel>
</form>
</body>
</html>

evant
4 Oct 2009, 10:08 PM
<asp:ScriptReference Path="C:\Users\chuckdawit\Desktop\ext-3.0.0\ext-3.0.0\ext-all-degub.js" />