devexpress

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

DX TreeList - How to chango color of some Node

拈花ヽ惹草 提交于 2019-12-10 11:28:21
问题 i have DX treeList, it has some functionality like copy, paste, delete and so on. How to do in C# code, to change some Node color to change to some other color? 回答1: You could take a look here The appearance of individual cells can be customized by handling the TreeList.NodeCellStyle event. This event is fired for each cell before it's painted. The other way to change the appearance of cells is to handle the TreeList.CustomDrawNodeCell event. Note that changing the appearance of elements via

GridView with ObjectDatasource UpdateMethod

佐手、 提交于 2019-12-10 09:39:57
问题 I have an ASP.NET WebForms page containing an ASPxGridView and an ObjectDataSource : <dx:ASPxGridView ID="gvEmployees" runat="server" AutoGenerateColumns="False" DataSourceID="objDsEmployees" KeyFieldName="EmployeeId"> <Columns> <dx:GridViewCommandColumn VisibleIndex="0"> <EditButton Visible="True" /> </dx:GridViewCommandColumn> <dx:GridViewDataTextColumn FieldName="EmployeeId" VisibleIndex="1" /> <dx:GridViewDataTextColumn FieldName="Name" VisibleIndex="2" /> <dx:GridViewDataTextColumn

How to get the value of cell containing a date and keep the original formatting using NPOI

对着背影说爱祢 提交于 2019-12-10 03:59:39
问题 I have an Excel file that I edited using DevExpress and I am reading using NPOI. When I try to get the value of a date cell as string, it does not keep the original value. For example: In a DevExpress grid I set this value: 2016-08-12 . I want to obtain the same value in my string but instead I get 42689 . My code to get the cell value is like this: ICell cell = row.GetCell(i); cell.SetCellType(CellType.String); string fieldString = cell.StringCellValue; result = result + ";" + FieldValue;

ContentControl is not visible when application starts via UI Automation test, but its visible when application starts by user

若如初见. 提交于 2019-12-09 15:45:52
问题 We are using the prism and WPF to build application. Recently we started using UI Automation (UIA) to test our app. But some strange behavior occurred when we run UIA test. Here's simplified shell: <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="*"/> </Grid.RowDefinitions> <TextBlock Grid.Row="0" Grid.Column="0" Name="loadingProgressText" VerticalAlignment="Center" HorizontalAlignment="Center" Text="Loading,

Is it possible to kick off a javascript function after a partial view renders in MVC Asp.net?

岁酱吖の 提交于 2019-12-08 17:55:55
问题 Let me preface this question with the fact that I am very new to MVC. I have an instance where I am rendering a devexpress grid in a partial view. @Html.Partial("MyGridPartial", Model) I need to kick off a javascript function at the moment that the model has been populated via this partial view render. I attempted to do this via this. : settings.ClientSideEvents.EndCallback I can get to this point, but at that time I do not have the model itself populated so it does no good. I was wondering

Devexpress Pivotgrid: How to define custom summary

て烟熏妆下的殇ゞ 提交于 2019-12-08 13:37:20
问题 I have a pivot grid made by ASPxpivotgrid. As anyone whoever made a pivotgrid would know, there is an optional row summary line in pivotgrid. It has some options like Sum, Avg, Min, Max, Var etc. but I need to have Min / Max in the summary line. I know there is another option like "Custom" but although I checked so many examples and pages, I couldn't find any clear example that describes how to define a Custom summary. My question is, how to define a custom summary? 回答1: This should be

How to work with RadioGroup in RibbonControl in WInforms Devexpress?

老子叫甜甜 提交于 2019-12-08 11:31:38
问题 Hi, I need RadioButton on Ribbon Control so I used RadioGroup and created event selectedIndexChanged , In which I performed some tasks private void repositoryItemRadioGroup1_SelectedIndexChanged(object sender, EventArgs e) { RadioGroup rg = (RadioGroup)sender; int index = rg.SelectedIndex; if (index == 0) { // code } if (index == 1) { // code } if (index == 2) { // code } else if (!(index == 2) || !(index == 1)) { // code } } Till now the code work fine.in beforeLeaveRow event I am performing

how to create dynamic Aspxmenu from database

微笑、不失礼 提交于 2019-12-08 10:24:32
问题 **I work on C#.**I want to develop asp.net application which contains menu but menu items should be generated from database. My intension is that Administrator can change menu items by working only on database, no need to change front end any how. ** For example: Web page contains Menu as 1. Home 2. About Us 3. Contact Us ** So if Administrator wants can change About Us menu to Our Clients menu, so administrator only need to modify in database don't touch front end any how. Any small help

DevExpress AspxGridView filter in ObjectDataSource

微笑、不失礼 提交于 2019-12-08 09:14:29
问题 Yet another problem with DevExpress AspxGridView :) The context: One Page In the Page, a custom control In the custom Control, a AspxDropDown The AspxDropDown has a DropDownWindowTemplate In the DropDownItemTemplate , I add a GridView and a paging/sorting/filtering enabled ObjectDataSource When handling the selecting event of the ObjectDataSource , I should set filter parameters for the datasource. There filter parameters should come from the FilterRow of the AspxGridView (preferably using