devexpress-mvc

Set ReadOnly property to a column of devexpress grid(MVC) only on edit click

旧时模样 提交于 2019-12-13 19:34:08
问题 I have a devexpress grid in my partial view, Each row of the grid has an add, update and delete button. When clicked on update of the particular row, a form pops down which contains all the columns of the grid. Now i want to set the readonly property of one of the columns to true, which i did by column.ReadOnly = true; But what this does is sets the column to readonly always i.e. even during New Click. Where as i want this readonly property only during edit click. here is my devexpress grid

The call is ambiguous beetween the following methods or properties MVC, devexpress

落花浮王杯 提交于 2019-12-10 17:05:29
问题 I have a MVC project and I'm using devexpres 14.1.6. I defined devexpress scripts and stylesheets on _Layout.cshtml page as below head => @Styles.Render("~/Content/css") @Styles.Render("~/Content/Bootstrap/css") @Scripts.Render("~/bundles/modernizr") @Scripts.Render("~/bundles/jquery") @Scripts.Render("~/bundles/bootstrap") @RenderSection("scripts", required: false) @Html.DevExpress().GetScripts( new Script { ExtensionSuite = ExtensionSuite.NavigationAndLayout }, new Script { ExtensionSuite =

How can I add more margin in the documentviewer?

北城以北 提交于 2019-12-10 11:44:38
问题 I have a report and this is the code for my html page: @Html.DevExpress().DocumentViewer(settings =>{ // The following settings are required for a Report Viewer. settings.Name = "documentViewer1"; settings.Report = (Misteryshopper.Reports.ResumenProyecto)ViewData["Report"]; // Callback and export route values specify corresponding controllers and their actions. // These settings are required as well. settings.CallbackRouteValues = new { Controller = "Report", Action =

Javascript Error $(…).dxChart is not a function

馋奶兔 提交于 2019-12-10 11:33:52
问题 I'm trying to display a dxChart with jQuery binding in an ASP.NET MVC project (with DevExpress). So I included the necessary scripts in the rootLayout: <script src="@Url.Content("~/Scripts/jquery-1.10.2.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery

How can I add more margin in the documentviewer?

走远了吗. 提交于 2019-12-08 17:27:41
I have a report and this is the code for my html page: @Html.DevExpress().DocumentViewer(settings =>{ // The following settings are required for a Report Viewer. settings.Name = "documentViewer1"; settings.Report = (Misteryshopper.Reports.ResumenProyecto)ViewData["Report"]; // Callback and export route values specify corresponding controllers and their actions. // These settings are required as well. settings.CallbackRouteValues = new { Controller = "Report", Action = "ProyectDocumentViewerPartial" }; settings.ExportRouteValues = new { Controller = "Report", Action =

Javascript Error $(…).dxChart is not a function

烂漫一生 提交于 2019-12-07 06:58:43
I'm trying to display a dxChart with jQuery binding in an ASP.NET MVC project (with DevExpress). So I included the necessary scripts in the rootLayout: <script src="@Url.Content("~/Scripts/jquery-1.10.2.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/bootstrap