devexpress

how to pass parameter in devexpress report

点点圈 提交于 2019-12-01 06:35:45
I am using Devexpress XtraReport in Windows application for reporting purpose. I have set a parameter param1 having string as type in my XtraReport1 and using following code to pass parameter. private void button1_Click(object sender, EventArgs e) { XtraReport1 report = new XtraReport1(); report.Parameters["param1"].Value = "kashif"; report.Print(); } when I press button1 the following windows apperas and ask me for param1 values having already displayed "kashif" in it with button "Submit" and "Reset" My Problem is: I don't want this window to get opened when i Press button1 rather I want to

报表开发神器!DevExpress Reporting v19.1全平台新功能解析

情到浓时终转凉″ 提交于 2019-12-01 05:34:48
行业领先的.NET界面控件DevExpress Reporting全新发布了v19.1版本,本文主要为大家介绍.NET Reporting v19.1中发布的所有平台的新功能,欢迎下载v19.1试用, 立即下载>> DevExpress Reporting v19.1下载 所有平台 Report Designer - 分层报表 现在,您可以使用新的DetailBand.HierarchyPrintOptions属性创建分层结构报表,报表支持两种类型的数据结构: 使用KeyFieldName和ParentFieldName属性从ParentID / ID关系创建报表。 使用ChildListFieldName从自引用结构创建报表。 Indent属性允许您定义子级节点偏移。 分层结构报表使用DetailBand.DrillDownControl属性提供内置的Drill-Down支持:在Print Preview中单击分配给该属性的控件将展开或折叠相应的数据级别。 合并报表 您不再需要编写代码来使用XRSubreport控件合并不同的报表。启用新的XRSubreport.GenerateOwnPages选项可跨单个页面打印/导出子报表,并保留页面设置和方向。 Report Designer - JSON数据源 - 支持身份验证 JSON数据源向导的Web服务端点(URI

how to pass parameter in devexpress report

女生的网名这么多〃 提交于 2019-12-01 05:22:25
问题 I am using Devexpress XtraReport in Windows application for reporting purpose. I have set a parameter param1 having string as type in my XtraReport1 and using following code to pass parameter. private void button1_Click(object sender, EventArgs e) { XtraReport1 report = new XtraReport1(); report.Parameters["param1"].Value = "kashif"; report.Print(); } when I press button1 the following windows apperas and ask me for param1 values having already displayed "kashif" in it with button "Submit"

Generate DTOs from Object

吃可爱长大的小学妹 提交于 2019-12-01 04:23:14
I want to auto gen some DTOs from some of my existing objects, I was wondering if there already exist a Resharper, DevExpress or VSX open source to use, I need a tool to look into my code and let me choose which properties I want to include in my DTO and then generate a class based on that... This is kind of a hack but you could use Visual Studio/Resharper to Extract an interface from the class, then create a DTO class and derive from the interface, then use Visual Studio to auto implement the interface members (then, optionally remove the interface). Another opinion would be to use some

  DevExpress v15.1:DevExtreme控件升级(三)

情到浓时终转凉″ 提交于 2019-12-01 01:25:57
1. HTML5/JS数据可视化 1.1 增强工具提示 支持HTM L:现在您可以使用HTML标记 自定义提示 信息。 改进定位 :工具提示的定位不再只是依赖于图表容器的边界。现在可以以显示内侧点的方式来显示工具提示的边界点。 1.2 HTML 5 RangeSelector 新的轻量级类型 :新版本包含了一个轻量级的Range Selector控件类型——更加紧凑、无需使用其背景中的图表图像。 改进滑动标记定位 :滑动标记不再移动到控件边界之外,这使得它能更容易地定位您的控件(尤其是当使用图表控件时)。 1.3 HTML 5 矢量地图 现在所有特定地图项目(面积或标记)的显示效果都已经更新,无需刷新。 2.HTML 5/JS SPA框架 2.1 外观、API和性能的改进 为提高最终用户的用户体验,我们在新版本中引入了很多新的功能。通过使用native-look UI的切换和动画,现在移动应用程序的UX更加接近于那些原生的应用程序。新版本中我们改进了DevExtreme的API,因此现在您可以为最终用户提供更多的互动的UX。 2.2 自定义Theme Builder的布局 现在可以在DevExtreme Theme Builder中自定义特定的CSS 布局 。 具体更多内容,请查看原文: 【DevExpress v15.1新版亮点】DevExtreme控件升级(三) 来源:

How to pass values to controller from Javascript code in MVC

China☆狼群 提交于 2019-12-01 00:53:39
Actually I have a scenario like : I am getting the values of checked records in GridView through Javascript. Now i need to send those values to controller for deleting those records. <script type="text/javascript"> $(function OnDelete() { $('#btn_Delete').click(function () { gvPaging.PerformCallback(); }); }); function OnBeginCallback(s, e) { var selectedValues = s.GetSelectedKeysOnPage(); e.customArgs["ID"] = ""; for (var i = 0; i < selectedValues.length; i++) { e.customArgs["ID"] += selectedValues[i] + ','; } } </script> and my GridView is like this : <% Html.DevExpress().GridView( settings

DevExpress: How do I develop for it without a license?

一笑奈何 提交于 2019-11-30 23:37:47
I am a freelance dev.. a customer wants me to work with DevExpress. How does that work? I cannot afford a license for it. I could download the trial for 30 days.. but for a more long term and "proper" solution.. how is this usually done? Do I need to acquire the license from my client? He says previous developers have coded for him without a license but he doesn't know how. Please someone provide some clarification for me. UPDATE I should have clarified: The client has bought DevExpress but tells me he doesn't have any licenses at current to give to me.. because they are being used by other

.Net界面开发必备!DevExpress Blazor UI全新组件助力界面开发

馋奶兔 提交于 2019-11-30 21:14:09
行业领先的.NET界面控件DevExpress 正式发布了v19.1版本,DevExpress UI for Blazor/ Razor组件附带7个用户界面组件(包括Data Grid和Pivot Grid),用户可以使用Blazor和Razor组件设计丰富的用户体验。欢迎下载v19.1试用, 点击立即下载>> 根据DevExpress Preview许可,可以免费使用此预览。 Data Grid 一组新的本机Blazor / Razor组件包括功能丰富的Grid控件,功能包括: 数据绑定 编辑 分页 过滤 行选择 预定义的列类型 模板 Pivot Grid Excel-inspired pivot table控件旨在进行多维数据分析和交叉表报告,功能包括: 高性能数据加载 内置的汇总函数(平均值,计数,最大值,最小值和总和) 排序 展开/收起 分页 模板 Data Editors和Pager Data Editors for Blazor / Razor组件包括四个单独的UI控件和一个多功能的pager,这些本机Razor组件可用于独立数据编辑或编辑Data Grid单元格值。 Combo Box Data Edit Spin Edit Text Box Pager =========================================================

Rowcommand do not fire after clicking button

好久不见. 提交于 2019-11-30 19:44:42
I have already find out the solution, i just want to post it so this may be useful for some people This is the button that use command <dxwgv:ASPxGridView ID="gdvxUsers" runat="server" AutoGenerateColumns="False" Width="100%" KeyFieldName="UserName" onrowcommand="gdvxUsers_RowCommand"> <Columns> <dxwgv:GridViewDataTextColumn Caption="Edit" VisibleIndex="0" Width="0px"> <DataItemTemplate> <asp:ImageButton ID="imbEdit" runat="server" CommandName = "Edit" ImageUrl="~/images/icon/Edit-icon.png" ClientIDMode="Static" /> </DataItemTemplate> </dxwgv:GridViewDataTextColumn> </dxwgv:ASPxGridView>

ASPxComboBox - How to set selected item?

心已入冬 提交于 2019-11-30 19:26:27
I'm using : ASPxComboBox The problem is how to set selectedValue from code behind ? If my html is like this: <dxe:ASPxComboBox ID="cbxJobType" runat="server" width="200px" MaxLength="50"> <Items> <dxe:ListEditItem Text="Contract" Value="0" /> <dxe:ListEditItem Text="Full Time" Value="1" /> <dxe:ListEditItem Text="Part Time" Value="2" /> </Items> <ValidationSettings ErrorDisplayMode="ImageWithTooltip"> <RequiredField ErrorText="Required Value" IsRequired="True" /> </ValidationSettings> </dxe:ASPxComboBox> Client-Side Script Give ClientInstanceName property to comboBoxto access it client side