devexpress

Binding GridView to dynamic DataTable

安稳与你 提交于 2019-12-13 06:16:17
问题 I have a GridView and I am binding it to a DataTable which is being filled at run time. Number of columns and rows are not fixed. After the DataTable is filled I am setting the binding source of the GridView to this data table: Me.User_infoDTBindingSource.DataSource = User_infoDT Now the prblem is, gird view is not showing any columns or rows at all. I used : Me.UserListGridView.PopulateColumns(User_infoDT) Now I am getting all the columns in the GridView but the column captions which I

DevExpress Grid, Bool rows change not reflect immediatly

廉价感情. 提交于 2019-12-13 05:24:47
问题 I have a DX grid view and it has 2 bool columns. My purpose is when I check for ex 2nd row in column1, column2 2nd must be changed immediatly, but not. It changes after clicking another row. Here is my rowcellvaluechanged event code : void gridView1_CellValueChanged(object sender, DevExpress.XtraGrid.Views.Base.CellValueChangedEventArgs e) { //button1.PerformClick(); if (e.Column.Name == "col1") { var x = gridView1.GetRowCellValue(e.RowHandler, col1); gridView1.SetRowCellValue(e.RowHandler,

AspxCallback EndCallback event doesnt work

你说的曾经没有我的故事 提交于 2019-12-13 05:09:58
问题 I had a working aspxcallback, today it started not working. I tried everything, changed the control, gave it a new name, added a new aspxcallback control. But none of them make it working. <dxcb:ASPxCallback ID="pageCloseCall" runat="server" ClientInstanceName="pgCloseCS" OnCallback="pageCloseCall_Callback"> <ClientSideEvents EndCallback="function(s,e) { window.returnValue = e.result; self.close(); }" /> </dxcb:ASPxCallback> Thanks for the help. Mehmet Serif Tozlu 回答1: Handle the ASPxCallback

How to call a JS function, on data selection in <input type=“text”> from AUTOCOMPLETE list?

自作多情 提交于 2019-12-13 04:41:48
问题 I have a form with a text box: wherever value changed by typing, showing alert message by KeyPress event, but it does not work if "Use AutoComplete for Form" is enable in IE and then whenever user double click and select text from a list of "possible entries, user have typed before". 回答1: Use the client-side “onpropertychange” event for this purpose: Here is the solution for both the standard and DevExpress (it looks like you are using it) textboxes: <script type="text/javascript" src="jquery

Drag and Drop between xtragrid and Scheduler

余生颓废 提交于 2019-12-13 04:23:12
问题 someone can tell me how to drag and drop data between gridcontrol and schedulercontrol from devexpress? I want to drag the data from the grid and drop it on the scheduler. The devexpress example in the demo doesnt work for me. I just get a block-symbol. regards 回答1: I got it. private void grdGrid_MouseDown(object sender, MouseEventArgs e) { posImGrid = null; GridHitInfo hitInfo = grvView.CalcHitInfo(new Point(e.X, e.Y)); if (Control.ModifierKeys != Keys.None) { return; } if ((e.Button ==

Need workaround for SetEnabled(false) stopping e.processOnServer with DevExpress button

不羁岁月 提交于 2019-12-13 04:19:52
问题 I am using a DevExpress ASPxButton on a webpage of mine, and need a way to stop the user from being able to double click the button. My initial thought was to try: function OnClick(s, e) { s.SetEnabled(false); e.processOnServer; } Unfortunately, I found out DevExpress stops all server side events from firing when you disable a button. So I went ahead and did some googling and ended up on the DevExpress website (which can be infuriatingly unhelpful sometimes) which gave an official "work

DevExpress XtraReporty Print Without any UI Interaction

一曲冷凌霜 提交于 2019-12-13 03:43:20
问题 I am having some trouble trying to get a report to print from a service that does not allow UI interaction. Currently I can do the following Dim myReport As New MyXtraReport(myData) myReport.CreateDocument() 'Then I attempt to do the following DirectCast(myReport.PrintingSystem, PrintingSystem).Print However nothing happens when I do this. I don't get any exceptions just no document is printed. Calling myReport.Print() will print the correct document but with UI interaction. What am I missing

backend db setup for an app with geographically diverse users

六眼飞鱼酱① 提交于 2019-12-13 03:23:20
问题 The in-house developed software where I work connects directly to a mysql server here in our office via our devexpress orm (XPO). Performance is great. We're opening another office... cross country. Performance: not so great. The requirement is that the software be as responsive in both offices as it is in this office and that the data from one office be available to the other 'in real time'. Something of this scale is totally new to me. I'm not averse to bringing in a consultant who's done

ASPxGridView and LinqServerModeDataSource, inserting rows by stored procedure

穿精又带淫゛_ 提交于 2019-12-13 02:49:10
问题 I have a page using ASPxGridView and to fill the GridView I use a LinqServerModeDataSource control who fetches it data through a SQL View from a MS SQL Server. So far so good but here comes the problem. I want to insert data in the database so I'm building a custom form <Templates> <EditForm> Company Name: <dx:ASPxTextBox ID="CompanyName" runat="server" /> Company Mail: <dx:ASPxTextBox ID="Email" runat="server" /> <dx:ASPxGridViewTemplateReplacement ID="UpdateButton" ReplacementType=

DevExpress SpinEdit not incrementing?

对着背影说爱祢 提交于 2019-12-13 02:45:23
问题 I put a SpinEdit control on a WinForm and when I click the up and down arrows, it does not do anything. The only properties I changed on it are: IsFloatValue is false MinValue is 1 MaxValue is 99 EditMask = 'N00' 回答1: You must set your parent control to be editable, and You will be able to increment / decrement spin's value... 来源: https://stackoverflow.com/questions/12518041/devexpress-spinedit-not-incrementing