Forum



11:57

10/05/2011

Hello, I am still very new to programming.
This may be a stupid mistake, but please guide me.
I referred to the sample provided and when I ran Debug, it is only a blank page. Please help me.
Here is my code. I am using Visual Studio 9 and my database is Microsoft SQL Server.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GridTest.aspx.cs" Inherits="GridTest" %>
<%@ Register Assembly="Trirand.Web" TagPrefix="trirand" Namespace="Trirand.Web.UI.WebControls" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DT.....t;>
<html xmlns="http://www.w3.org/1999/xhtml&q.....t;>; />
<!-- The jQuery UI theme extension jqGrid needs -->
<link rel="stylesheet" type="text/css" media="screen" href="/themes/ui.jqgrid.css" />
<!-- jQuery runtime minified -->
<script src="Js/jquery-1.5.2.min.js" type="text/javascript"></script>
<!-- The localization file we need, English in this case -->
<script src="/Js/trirand/i18n/grid.locale-en.js" type="text/javascript"></script>
<!-- The jqGrid client-side javascript -->
<script src="/Js/trirand/jquery.jqGrid.min.js" type="text/javascript"></script>
<!-- The javascript for the grid search/edit advanced controls - datepicker and autocomplete -->
<script src="/Js/trirand/jquery.jqDatePicker.min.js" type="text/javascript"></script>
<script src="/Js/trirand/jquery.jqAutoComplete.min.js" type="text/javascript"></script>
<style type="text/css">
body, html { font-size: 100%; }
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<trirand:JQGrid ID="myJqGrid" runat="server" DataSourceID="LinqDataSource1">
<Columns>
<trirand:JQGridColumn DataField="EmployeeID" >
</trirand:JQGridColumn>
<trirand:JQGridColumn DataField="EmployeeName" >
</trirand:JQGridColumn>
<trirand:JQGridColumn DataField="SupervisorID" >
</trirand:JQGridColumn>
<trirand:JQGridColumn DataField="Department" >
</trirand:JQGridColumn>
</Columns>
<SortSettings InitialSortColumn=""></SortSettings>
</trirand:JQGrid>
<asp:LinqDataSource ID="LinqDataSource1" runat="server"
ContextTypeName="MyDB.Core.MyDBDataContext"
Select="new (EmployeeID, EmployeeName, SupervisorID, Department)" TableName="Employee">
</asp:LinqDataSource>
</div>
</form>
</body>
</html>
Did I miss something?
12:52

10/05/2011

I noticed there is a warning message saying:
Warning 1
Error updating JScript IntelliSense: C:\Users\freya\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\VYZDC7P2\jquery-1.5.2.min-fds90[1]..js:
Object doesn't support this property or method @ 15:15372
Is it because of this problem?
Please, I need guidance.
Thank you so much in advance.
05:44

10/05/2011

Here is another thing I found.
The Firebug says:
"jQuery("#myJqGrid").jqGrid is not a function".
I have put all the files into my folders (js, trirand, i18n, and themes) and the same to the library (Trirand.Web.dll).
Please… I need guidance.
Anyone???
I am using Visual Studio Team System 2008 and running on Firefox 4.
Most Users Ever Online: 715
Currently Online:
52 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66