<?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: ASP.NET MVC jQGrid dropdownlist</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/asp-net-mvc-jqgrid-dropdownlist</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/asp-net-mvc-jqgrid-dropdownlist/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>trs on ASP.NET MVC jQGrid dropdownlist</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/asp-net-mvc-jqgrid-dropdownlist#p20515</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/asp-net-mvc-jqgrid-dropdownlist#p20515</guid>
        	        	<description><![CDATA[<p>I am providing information&#160;as to how I have defined&#160;the jQGrid inside aspx file. The grid is loading properly, only problem is the dropdown list.</p>
<p>&#60;%= Html.Trirand().JQGrid(Model.EmployeesForGivenHospitalList.EmployeesForGivenHospitalGrid, "EmployeesForGivenHospitalList")%&#62;</p>
]]></description>
        	        	<pubDate>Wed, 27 Oct 2010 16:25:26 +0300</pubDate>
        </item>
        <item>
        	<title>trs on ASP.NET MVC jQGrid dropdownlist</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/asp-net-mvc-jqgrid-dropdownlist#p20511</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/asp-net-mvc-jqgrid-dropdownlist#p20511</guid>
        	        	<description><![CDATA[<p>Hi all,</p>
<p>I have a jQueryGrid in ASP.NET MVC 2 in which a dropdown list needs to be implemented.</p>
<p>The code that I have written below just displays the data and that too only the first result:</p>
<p>new JQGridColumn{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; DataField = "DepartmentRoleName",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; HeaderText = "Deptt Role/s",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Sortable = false, TextAlign = Trirand.Web.Mvc.TextAlign.Left,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Width = 50<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>
<p>Also please I would like to know how the existing LINQ query would need to be changed.</p>
<p>It currently is as under:</p>
<p>empDetails = (from emp in empDetails<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; select new HS.Setup.Models.EmployeeDetailsForGivenHospital<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; UserName = emp.UserName,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; EmployeeId = emp.EmployeeId,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; EmployeeDesignationName = Enum.GetName(typeof(HS.Business.Utility.Designations), emp.EmployeeDesignation),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; DepartmentRoleName = emp.DepartmentRoleName, // This is the dropdown list<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }).ToList();</p>
<p>Thanks in advance.</p>
]]></description>
        	        	<pubDate>Wed, 27 Oct 2010 14:31:39 +0300</pubDate>
        </item>
</channel>
</rss>