<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Error using Jqgrid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/error-using-jqgrid-1</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/error-using-jqgrid-1/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>mohanraodivvela on Error using Jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/error-using-jqgrid-1#p15390</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/error-using-jqgrid-1#p15390</guid>
        	        	<description><![CDATA[<blockquote>
<p>santosh said:</p>
<p>MohanRao,</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Data is not populating because your json object is not build correctly use firebug to known how json data is being built and make sure you are not missing any &#39;]&#39; anywhere...! Checkout the json syntax <img class="spSmiley" style="margin:0" title="Smile" src="/blog/wp-content/forum-smileys/sf-smile.gif" alt="Smile" /> which you are sending for your jqgrid...!</p>
</blockquote>
<hr />
<p>My Code is look like this. pls tell the mistake</p>
</p>
<p>function GetMemberslist() <br />{</p>
<p>jQuery("#addgrid").jqGrid({<br />&#160;&#160; &#160;url: "Membership.ashx",<br />&#160;&#160; &#160;datatype:&#39;json&#39;,<br />&#160;&#160; &#160;height: 400,<br />&#160;&#160; &#160;width:800,<br />&#160;&#160; colNames: [&#39;Campus&#39;, &#39;Enrollno/EmpNo&#39;,&#39;Name&#39;,&#39;Issuedate&#39;,&#39;Expirydate&#39;,&#39;Address&#39;,&#39;Type&#39;,&#39;Amount&#39;],<br />&#160;<br />&#160;&#160; &#160;colModel: [<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{ name: &#39;campus&#39;, index: &#39;campus&#39;, width: 100,align: &#39;center&#39;, editable: false,&#160;&#160; editoptions: { size: 10 }, editrules: { required: true}&#160; },<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{ name: &#39;enrollno&#39;, index: &#39;enrollno&#39;, width: 100, align: &#39;left&#39;, editable: true,&#160;&#160; editoptions: { size: 10 }, editrules: { required: true} },<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{ name: &#39;Name&#39;, index: &#39;Name&#39;,&#160; align: &#39;left&#39;,width: 100, editable: true, editoptions: { size: 10 }, editrules: { required: true} },<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{ name: &#39;issuedate&#39;, index: &#39;issuedate&#39;, width: 100, align: &#39;left&#39;, editable: true, editoptions: { size: 10 }, editrules: { required: true} },<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{ name: &#39;expirydate&#39;, index: &#39;expirydate&#39;, width: 100, align: &#39;left&#39;, editable: true, editoptions: { size: 10 }, editrules: { required: true} },<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{ name: &#39;Address&#39;, index: &#39;Address&#39;, width: 100, align: &#39;left&#39;, editable: true, editoptions: { size: 10 }, editrules: { required: true} },<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{ name: &#39;Type&#39;, index: &#39;Type&#39;, width: 100, align: &#39;left&#39;, editable: true, editoptions: { size: 10 }, editrules: { required: true} },<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{ name: &#39;Amount&#39;, index: &#39;Amount&#39;,width: 100,&#160; align: &#39;left&#39;, editable: true, editoptions: { size: 10 }, editrules: { required: true} }<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160; ],<br />&#160;&#160; &#160;rowNum: 10,<br />&#160;&#160; &#160;rowList: [5, 10, 20, 50],<br />&#160;&#160; &#160;sortname: &#39;enrollno&#39;,<br />&#160;&#160; &#160;pager: jQuery(&#39;#pagerad&#39;),<br />&#160;&#160; &#160;sortorder: "asc",<br />&#160;&#160; &#160;caption: "MemberShip Details",</p>
<p>editurl: "" , <br />&#160;&#160; &#160;height:210</p>
<p>}).navGrid(&#39;#pagerad&#39;,<br />&#160;&#160; &#160;{edit:false,add:false,search:false,del:false}, //options <br />&#160;&#160; &#160;{height:300,reloadAfterSubmit: true }, // edit&#160;&#160; options<br />&#160;&#160; &#160; {height:300,reloadAfterSubmit: true }, //&#160; add options <br />&#160;{<br />&#160;//reloadAfterSubmit: true,url: "WebService.asmx/Delete" + a <br />// reloadAfterSubmit: true,url: "Services/LibService.asmx/Deletemembership" <br />&#160;}, // del options<br />&#160;&#160; &#160;&#160; {} // search options <br />&#160;&#160; &#160;&#160; );<br />&#160;&#160; $("#update").click(function(){<br />&#160;&#160; &#160;var gr = jQuery("#addgrid").getGridParam(&#39;selrow&#39;);<br />&#160;&#160; &#160;if( gr != null ){ <br />&#160;&#160; &#160; //jQuery("#addgrid").editGridRow(gr,{height:280,reloadAfterSubmit:false});<br />&#160;&#160; &#160;&#160;&#160; var ret = $("#addgrid").getRowData(gr);<br />&#160;&#160; &#160;&#160; //GetNewsItem(ret.ID);<br />&#160;&#160; &#160; // alert(ret.enrollno);<br />&#160;&#160; &#160;ItemMouseClickmember(ret.enrollno)<br />&#160;&#160; &#160; &#160;<br />&#160;&#160; &#160;&#160; &#160;<br />&#160;&#160; &#160;}<br />&#160;&#160; &#160;else {<br />&#160;&#160; &#160;&#160;&#160; &#160;alert("Please Select Row");<br />&#160;&#160; } <br />});<br />$("#delete").click(function(){<br />&#160;&#160; &#160;var gr = jQuery("#addgrid").getGridParam(&#39;selrow&#39;);<br />&#160;&#160; &#160;if( gr != null ){ <br />&#160;&#160; &#160;&#160; //jQuery("#addgrid").editGridRow(gr,{height:280,reloadAfterSubmit:false});<br />&#160;&#160; &#160;&#160;&#160; var ret = $("#addgrid").getRowData(gr);<br />&#160;&#160; &#160;&#160; //&#160; ItemDelete(ret.ID);<br />&#160;&#160; &#160;&#160;&#160; &#160;//alert(ret.ID);<br />&#160;&#160; &#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160; ItemMouseClickmemberDelete(ret.enrollno);<br />&#160;&#160; &#160;}<br />&#160;&#160; &#160;else {<br />&#160;&#160; &#160;&#160;&#160; &#160;alert("Please Select Row");<br />&#160;&#160; } <br />});</p>
<p>}</p>
]]></description>
        	        	<pubDate>Fri, 05 Mar 2010 12:11:47 +0200</pubDate>
        </item>
        <item>
        	<title>santosh on Error using Jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/error-using-jqgrid-1#p15385</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/error-using-jqgrid-1#p15385</guid>
        	        	<description><![CDATA[<p>MohanRao,</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Data is not populating because your json object is not build correctly use firebug to known how json data is being built and make sure you are not missing any &#39;]&#39; anywhere...! Checkout the json syntax <img class="spSmiley" style="margin:0" title="Smile" src="/blog/wp-content/forum-smileys/sf-smile.gif" alt="Smile" /> which you are sending for your jqgrid...!</p>
]]></description>
        	        	<pubDate>Fri, 05 Mar 2010 11:22:37 +0200</pubDate>
        </item>
        <item>
        	<title>mohanraodivvela on Error using Jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/error-using-jqgrid-1#p15384</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/error-using-jqgrid-1#p15384</guid>
        	        	<description><![CDATA[<p>Hi ALL,</p>
<p>I&#8217;m using jqGrid in ASP.NET. jqGrid is literally good. As of now, I&#8217;m<br />using Handler(ashx)&#160; through&#160; WebService(asmx) to convert the DataTable into<br />JSON and display in the Grid.</p>
<p>I m Unable to Populate the data to jqgrid. I m getting the data from database to generichandlers page. But That data is not bind to grid .I m getting the Following Error on Jqgrid. I m unable to Solve it. The Error is look like this</p>
<p>Line:11 <br />Char:1468<br />Error: Expected &#39;]&#39; <br />Code &#39;0&#39;</p>
<p>I m using IE6.0. but it runs in Firefox i didnt get any error. but didn&#39;t bind the data..</p>
<p>Pls Help me .. How to solve this error.</p>
]]></description>
        	        	<pubDate>Fri, 05 Mar 2010 11:11:38 +0200</pubDate>
        </item>
        <item>
        	<title>mohanraodivvela on Error using Jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/error-using-jqgrid-1#p15383</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/error-using-jqgrid-1#p15383</guid>
        	        	<description><![CDATA[<p>Hi ALL,</p>
<p>I&#8217;m using jqGrid in ASP.NET. jqGrid is literally good. As of now, I&#8217;m<br />using Handler(ashx)&#160; through&#160; WebService(asmx) to convert the DataTable into<br />JSON and display in the Grid.</p>
<p>I m Unable to Populate the data to jqgrid. I m getting the data from database to generichandlers page. But That data is not bind to grid .I m getting the Following Error on Jqgrid. I m unable to Solve it. The Error is look like this</p>
<p>Line:11 <br />Char:1468<br />Error: Expected &#39;]&#39; <br />Code &#39;0&#39;</p>
<p>Pls Help me .. How to solve this error.</p>
]]></description>
        	        	<pubDate>Fri, 05 Mar 2010 11:11:37 +0200</pubDate>
        </item>
        <item>
        	<title>santosh on Error using Jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/error-using-jqgrid-1#p15382</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/error-using-jqgrid-1#p15382</guid>
        	        	<description><![CDATA[<p>Hi Mohan Rao...</p>
<p style="padding-left: 30px;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Can you paste in some more details? How can anyone make out line:11, char:1486 after looking into your post??? <img class="spSmiley" style="margin:0" title="Laugh" src="/blog/wp-content/forum-smileys/sf-laugh.gif" alt="Laugh" /></p>
<p style="padding-left: 30px;">&#160;</p></p>
]]></description>
        	        	<pubDate>Fri, 05 Mar 2010 11:09:02 +0200</pubDate>
        </item>
        <item>
        	<title>mohanraodivvela on Error using Jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/error-using-jqgrid-1#p15378</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/error-using-jqgrid-1#p15378</guid>
        	        	<description><![CDATA[<p>Hi Friends,</p>
</p>
<p>I m Mohanrao. I m working as a asp.net developer. Currently I m using jqgrid with webservices. I m unable to bind the data to jqgrid. I m getting the following Error:</p>
</p>
<p>Line:11, char:1486, Error: ']' Expected.</p>
</p>
<p>I m unable to findout the error. Pls give the solutions to rectify this error.</p>
]]></description>
        	        	<pubDate>Fri, 05 Mar 2010 06:44:17 +0200</pubDate>
        </item>
</channel>
</rss>