devexpress

devexpress onsuccess parameter

余生长醉 提交于 2020-01-07 08:29:05
问题 I've been put on a project for work where they use devexpress. For my task I'm trying to run a javascript function when an ajax call is successful, however I don't know where to put the onsuccess parameter. I know how to do this for ajax.beginform but for devexpress theres a grid view with a bunch of settings.stuff. Any idea where this goes? I see a settings.CallBackRouteValues, is this where that goes? 回答1: If you need to handle on a client when DevExpress controls finish their callbacks,

How can I set the column properties(DisplayFormatString to be precise) of a aspx(devExpress) grid from code behind?

こ雲淡風輕ζ 提交于 2020-01-07 03:06:57
问题 I have an aspx(devexpress) grid. Using which I generate columns dynamically from code behind.Below is the code from my grid_databinding event. GridViewDataTextColumn bfield = new GridViewDataTextColumn(); if (TestString.YearSelectedNames.ToString().Length > 4) { string colName = string.Empty; if (iCount % 2 == 0) { colName = TestString.YearSelectedNames.ToString().Substring(5, 4) + "-" + dtFreezing.Columns[iCount].ColumnName.ToString(); bfield.HeaderTemplate = new DevxGridViewTemplate

How can I set the column properties(DisplayFormatString to be precise) of a aspx(devExpress) grid from code behind?

家住魔仙堡 提交于 2020-01-07 03:06:22
问题 I have an aspx(devexpress) grid. Using which I generate columns dynamically from code behind.Below is the code from my grid_databinding event. GridViewDataTextColumn bfield = new GridViewDataTextColumn(); if (TestString.YearSelectedNames.ToString().Length > 4) { string colName = string.Empty; if (iCount % 2 == 0) { colName = TestString.YearSelectedNames.ToString().Substring(5, 4) + "-" + dtFreezing.Columns[iCount].ColumnName.ToString(); bfield.HeaderTemplate = new DevxGridViewTemplate

How can I use office navigation bar like backstageview in winforms?

我们两清 提交于 2020-01-07 03:06:20
问题 I want to use Office navigation bar like backstage view control. For example, I get information like customers name, birthday, and files but I can separate with backstage view can I do same with office navigation bar? I found this link: https://www.devexpress.com/Products/NET/Controls/WinForms/build-outlook-app.xml but it did not help me solve my problem. 回答1: Yes, you can implement such sort of functionality, but I am not sure that it will be exactly same as the WPF controls - Backstage View

DevExtreme - Accordion inside form with JSON datasource and form objects

こ雲淡風輕ζ 提交于 2020-01-06 14:57:20
问题 I want to use Accordion to show/hide form fields. Those fields are created dynamically with a received JSON. The problem is that the only way I founded to do this is with templates and I'm getting error: Error RZ9999: Inline markup blocks ( @<p>Content</p> ) cannot be nested. Only one level of inline markup is allowed. @(Html.DevExtreme().Form() .ID("form") .ColCount(4) .ShowValidationSummary(true) .Items(items => { if (Model.Where(w => w.TagHtml.Equals("div")).Count() > 0) { items.AddGroup()

Devexpress: Add Clear All Button in ASPxGridLookup

强颜欢笑 提交于 2020-01-06 13:55:53
问题 I have a ASPxGridLookup like this; <dx:ASPxGridLookup ID="GridLookup" runat="server" Text='<%# Bind("AKTOR") %>' ClientInstanceName="gridLookup" DataSourceID="SqlDataSource3" KeyFieldName="KOD" MultiTextSeparator=";" SelectionMode="Multiple" TextFormatString="{0}"> <GridViewProperties> <SettingsPager PageSize="20" /> </GridViewProperties> <Columns> <dx:GridViewCommandColumn ShowSelectCheckbox="True" /> <dx:GridViewDataColumn FieldName="KOD" /> <dx:GridViewDataColumn CellStyle-Wrap="False"

Getting “Could not install package…” when attempting to install DevExpress to project?

寵の児 提交于 2020-01-06 05:23:28
问题 All projects in my solution are loading except for 1. This project is a DevExpress project, ".dxjsproj", and will not load properly without DevExpress. When trying to install the package with NuGet, an error is thrown. The error that is thrown is: Error Could not install package 'DevExpress.Data 19.2.3'. You are trying to install this package into a project that targets 'MDD,Version=v8.1', but the package does not contain any assembly references or content files that are compatible with that

CompareValidator to validate two dates

会有一股神秘感。 提交于 2020-01-06 04:06:10
问题 Hi all I am having my date format in the following format dd-MMM-yy I am using compare validator to validate the dates as follows <asp:CompareValidator ID="cmpDates" runat="server" ControlToValidate="StartDate" SetFocusOnError="true" ControlToCompare="EndDate" ErrorMessage="EndDate must be greater than StartDate" Display="None" Operator="DataTypeCheck" ValidationGroup="vg" Type="Date" CultureInvariantValues="true"> </asp:CompareValidator> But this is not working as per required so can some

how to change the color of selected row in devexpressgrid

空扰寡人 提交于 2020-01-05 07:59:29
问题 I am new to DevExpress grid. I need to change the color of a row in the grid when a row is selected. Can someone please post some code to achieve the above scenario.. Thanks in advance.. 回答1: If I were you, I would change the GridView.Appearance.FocusedRow.BackColor and GridView.Appearance.SelectedRow.BackColor properties. This will force the GridControl to choose this color to paint the background of a selected row. 回答2: When to ignore this answer Please ignore this answer in favor of the

Segmented bar chart in Winforms/DevExpress

試著忘記壹切 提交于 2020-01-05 04:06:00
问题 I'm trying to do a segmented bar chart of location and time for people. The X-axis is time. The people are on the Y-axis, with a single horizontal bar for each person. Each bar will be broken up into segments, with each segment giving the person's location, specified by color and by text label/annotation. Here's a crude hand-drawn example of what the end result should resemble: The set of segments for each bar is not the same, which seems to be the root cause of my trouble. Every example of