I have copied syntax from another page that is working properly (4 comboboxes,1 utilizing multi-select), created by my predecessor.
Here is the code that isn't working properly:
@{ ViewBag.Title = "XEUS Product Design Mapping"; Layout = "~/Views/Shared/_Layout.cshtml"; const string gridId = "xeusDesignMappingGrid"; var securityUnLocked = Functions.IsAdministrator(); } @if (securityUnLocked) { //only Admins can add new design <div style="margin-bottom: 1px; margin-top: 5px; padding-bottom: 5px; height: 10px;"> <span style="position: relative; float: right!important; margin-right: 10px;"> <span id="addNewDesignLookup" class="span-button" onclick="addNewRow(this, '@gridId');" style="padding-bottom: 4px; padding-top: 4px;"> <span class="add-icon"></span> <span title="Add A New Xeus Design Lookup" class="icon-btn">Add New Lookup</span> </span> </span> </div> } <div class="gridcontainer margintenpixel"> @(Html.Infragistics().Grid<XeusDesignMapping>() .ID(gridId) .AutoCommit(true) .AutoGenerateColumns(false) .AutoGenerateLayouts(false) .ResponseDataKey(null) .PrimaryKey("Id") .Caption("Xeus Design Lookups") .Rest(true) .Columns(column => { column.For(x => x.Id).HeaderText("Mapping Id").DataType("string").Hidden(true); column.For(x => x.XeusDesignId).HeaderText("Xeus Id").DataType("string").Hidden(true); column.For(x => x.XeusDesign).HeaderText("Xeus Design").DataType("string"); column.For(x => x.DesignId).HeaderText("Commits Id").DataType("string").Hidden(true); column.For(x => x.Design).HeaderText("Commits Design").DataType("string"); if (securityUnLocked) // only Admin can edit and delete xeus design mappings column.Unbound("Actions").HeaderText("Actions").Template("<a title='Edit Lookup' href='#' onclick='editRow(\"" + gridId + "\", \"${Id}\")'>Edit</a> | <a title='Delete Lookup' href='#' onclick='deleteRow(\"" + gridId + "\", \"${Id}\")'>Delete</a>"); }) .Features(features => { features.Sorting().Type(OpType.Local); features.Filtering().Type(OpType.Local); features.Paging().PageSize(20).Type(OpType.Local); features.Selection().Mode(SelectionMode.Row); features.Resizing(); features.Updating().EnableAddRow(true).EnableDeleteRow(false) .AddClientEvent("rowAdding", "gridHideDefaultRow") .AddClientEvent("editRowEnding", "saveEditedRow") .ColumnSettings(settings => { settings.ColumnSetting().ColumnKey("Xeus Design").EditorType(ColumnEditorType.Combo).Required(true).ComboEditorOptions(co => co.DataSource(Model.XeusDesigns).ID("xeusDD").ValueKey("Id").TextKey("XeusDesign").Mode(ComboMode.DropDown)); settings.ColumnSetting().ColumnKey("Commits Design").EditorType(ColumnEditorType.Combo).Required(true).ComboEditorOptions(co => co.DataSource(Model.Designs).ID("commitDD").ValueKey("Id").TextKey("Design").Mode(ComboMode.DropDown)); }); }) .DataSourceUrl("/design/GetXeusDesignMappings/") .DataBind() .Render())
I need "Commits Design" and "Xeus Design" to both be comboboxes because of the volume of information in the first and users not having other access to the second. They are the only 2 columns visible to the users.
I have a mapping object (XeusDesignMapping is an entity in the C# code) which should store the names and GUIDs of the pair to be matched in the back-end and a GUID created in the back-end that will be populated when the mapping is created.
Everything appears to be populating properly, as I have checks for the stored procs which populate both design sets and the mapping object set, but there are no comboboxes. I just have blank inputs with no filtering applied.
Let me know what I'm doing wrong and what I can do to fix it.
We would like to introduce you to a blog post that is going to be published on our website. This article is all about erotic night with hot sexy Raipur escorts girls. Erotic night with hot sexy Raipur escorts girls!
Best Escorts in Raipur Milkynipple
felt very happy while reading this site. This was really very informative site for me. I really liked it. This was really a cordial post.
Call Girls in Bangalore
A very nice blog, I like the way you share very honestly and interestingly, through my blog I learned a lot of things. driving directions mapquest
I am more interested in some of them and hope that you will provide more information on these topics in your future articles. Geometry Dash
https://www.familylegalrights.com/