devexpress

how do i alternate gridview selection from another form?

这一生的挚爱 提交于 2019-12-25 09:09:18
问题 hello i want to ask how do we alternate selection row grid view at main form from another form just using text box and button the picture and code is in form 1 and form 2 lets say only got text box and button how do we can declare or use gridview data from form 1 in form 2 ? 回答1: You could change Form2 so you can receive the gridView in the constructor : public class Form2 : XtraForm { private GridView grid; public Form2(GridView grid) { this.grid = grid; } private void somebutton_Click

Get the value of CheckedListBoxItem devexpress in gridview c#

妖精的绣舞 提交于 2019-12-25 09:08:15
问题 I put a CheckedListBoxItem in grivviewDevexpress as you can see here : I initialize the datasource in page_load as you can see : List<User> confirms = _userRepository.Get().ToList(); ConfirmList.DataSource = confirms; ConfirmList.DisplayMember = "FullName"; ConfirmList.ValueMember = "Id"; In save button I need to get the selected values(more than one selections) by user but it returns null why ? private void btnSave_ItemClick_1(object sender, ItemClickEventArgs e) { gridView.CloseEditor();

How to force Safari browser to disable icloud Keychain in member registration forms ?

浪子不回头ぞ 提交于 2019-12-25 07:00:31
问题 We are developing an online hotel CRM system in DevEx environment and there is member registration form in our system. Our customers said that there is a huge problem for their hotel customers when they try to sign up. As you may know in Safari Browser there is a icloud Keychain speciality to keep your most used password and automatically put that password while you try to fill registration form in browser. So if a hotel customer tries to register from safari browser and if they activated

Devexpress GridControl : Prevent new row added automatically

最后都变了- 提交于 2019-12-25 06:38:47
问题 Please guide me how to prevent new rows added automatically on DevExpress.XtraGrid.GridControl I want to control when new rows is added, in my case i'm using a keydown event (CTRL + I ) for this task. But the grid keep adding new rows automatically if i move the focus (cursor pointer) to the area right below to the last row and click. The GridControl.MainView is a BandedGridView , which contains the datasource. 回答1: You can handle the ValidateRow event. If you set e.Valid = false you wont add

Jssor Slider not working for devexpress listboxes

我怕爱的太早我们不能终老 提交于 2019-12-25 04:40:24
问题 I haveimplemented a Jssor slider using devexpress listboxes. I am not able to slide the listboxes when i click on the previous and next arrows. Need help to make the listboxes slide. Jquery for the Jssor slider < script type = "text/javascript" > jQuery(document).ready(function($) { var jssor_2_options = { $AutoPlay: false, $AutoPlaySteps: 1, //$SlideDuration: 160, $SlideWidth: 1300, $SlideSpacing: 0, $Cols: 5, $Captions: true, $ShowLink: true, $SlidesCount: true, //$MinDragOffsetToSlide: 20,

Change column editor type without changing filter editor type in GridControl

淺唱寂寞╮ 提交于 2019-12-25 02:57:48
问题 I have the following GridColumn defined: new GridColumn{ Visible = true, FieldName = "blah", Name = "blah", ColumnEdit = new RepositoryItemGridLookUpEdit{ DisplayMember = "Name", ValueMember = "Id", DataSource = ViewModel.Components } } This works fine and changes the editor of my blah column to a the correct editor, but it also has an unwanted side-effect of changing the AutoFilterRow editor for that column to that same GridLookUpEdit . I want the filter to be just a regular text edit field.

Devexpress ASPxCallback client side e.Result undefined

徘徊边缘 提交于 2019-12-25 02:43:04
问题 I call cb.PerformCallback(); it looks working correctly but I can not get the e.result . it alerts "undefined". I can both see "started" and "ended" alerts. ASPxCallback cb = new ASPxCallback(); cb.ID = cb.ClientInstanceName = "cb"; cb.ClientSideEvents.BeginCallback = @"function (s,e) { alert('started'); alert(e.result); }"; cb.ClientSideEvents.EndCallback = @"function (s,e) { alert('ended'); alert(e.result); }"; how can I get e.result? 回答1: Take a look at this: http://documentation

Devexpress textbox regular expression validator not validating correctly

只谈情不闲聊 提交于 2019-12-25 02:26:25
问题 For some reasons, I have to use devexpress textbox instead of asp textbox, and the textbox have a validation that the text must contain a ".", so I am using regular expression to validate the user's input like below: <dx:ASPxTextBox runat="server" ID="textBox1" ValidationSettings-ValidationGroup='<%# Container.ValidationGroup %>'> <ValidationSettings> <RegularExpression ValidationExpression="[.]" ErrorText="Invalid input" /> </ValidationSettings> </dx:ASPxTextBox> I.e. the regex is very

DevExpress ASPxComboBox not filtering

你离开我真会死。 提交于 2019-12-25 01:42:48
问题 I have an ASPxComboBox from the DevExpress suite and am trying to get it filtered. If I click on the dropdown button of the combo box it will show the first few of the query as if the filter is empty. If I try to populate the filter, or scroll down to see more, it will just provide a perpetual "Loading" state. The stored procedure returns the correct results when ran with appropriate parameters. What could be the problem? EDIT: I have been following this tutorial on the DevExpress site: http:

Xtragrid column checkedit check all header

三世轮回 提交于 2019-12-24 22:08:36
问题 ,Hi guys, I am using Devexpress Xtragrid in winforms. I have a checkedit(checkbox) column. I want to put a column header and if i click to header i want to set all rows checked. However , In this example, https://documentation.devexpress.com/#WindowsForms/DevExpressXtraGridViewsGridGridOptionsSelection_ShowCheckBoxSelectorInColumnHeadertopic there is no property as "ShowCheckBoxSelectorInColumnHeader". What property use in order to achieve checkbox column header to active ? Any help will be