devexpress

How to Upgrade DevExPress from 9.3 to 12.1 ASP.NET

时光怂恿深爱的人放手 提交于 2019-12-10 17:56:15
问题 We have asp.net application using DevExpress 9.3 version and we have to upgrade to 12.1, what is the best way to upgrade ? 回答1: Use the Project Converter tool for this purpose. See the Upgrade Notes topic for details. 回答2: Generally you just install the new version, then open the solution in the newer version, that's how Visual Studio, etc. works. They should run in parallel and make backups, so trying won't be of any harm. 回答3: In Visual studio, click DevExpress -> Project Converter ->

The call is ambiguous beetween the following methods or properties MVC, devexpress

落花浮王杯 提交于 2019-12-10 17:05:29
问题 I have a MVC project and I'm using devexpres 14.1.6. I defined devexpress scripts and stylesheets on _Layout.cshtml page as below head => @Styles.Render("~/Content/css") @Styles.Render("~/Content/Bootstrap/css") @Scripts.Render("~/bundles/modernizr") @Scripts.Render("~/bundles/jquery") @Scripts.Render("~/bundles/bootstrap") @RenderSection("scripts", required: false) @Html.DevExpress().GetScripts( new Script { ExtensionSuite = ExtensionSuite.NavigationAndLayout }, new Script { ExtensionSuite =

Get Checked Items In A DevExpress CheckedComboBoxEdit

别来无恙 提交于 2019-12-10 14:16:49
问题 I am using the DevExpress 9.3 CheckedComboBoxEdit, and I need to get the collection of all checked items. It seems like this should be a simple task, but the closest thing I have found to a solution is something that says I can use: CheckedComboBoxEdit.Properties.GetItems.GetCheckedValues() Unfortunately, there is no GetCheckedValues method here. I have found the following: CheckedComboBoxEdit.Properties.GetCheckedItems() which returns an object, but I cannot find any reference on what I

How to access the value of an ASPxTextBox from JavaScript

一笑奈何 提交于 2019-12-10 14:08:14
问题 Suppose I have an DevExpress ASPxTextBox whose id is "instrument". I want to access the value of the text box at client side. So I need to write a javascript. If it was a normal asp text box, I could have accessed the text box by writing code like var instrumentElement = document.getElementById('<%=instrument.ClientID%>') But the same approach is not working for the DevExpress's Text Box. How can I access an ASPxTextBox ? I am using Developer Express Version 7.2. Here is some more thorough

How to get field value of selected Row Devexpress GridView?

巧了我就是萌 提交于 2019-12-10 13:43:41
问题 I use a DevexpressGridView to display all TOPIC (id,title,content) <dx:ASPxGridView ID="gv" runat="server" OnSelectionChanged="gv_SelectionChanged" > I have grid_SelectionChanged event: protected void gv_SelectionChanged(object sender, EventArgs e) { int id= selected row...???; //how can I get the value of selected row string sql = "select * from TOPIC where idTOPIC="+id; DataTable topic = l.EXECUTEQUERYSQL(sql); TextBox1.Text = topic.Rows[0][1].ToString(); } ... It seems gv.SelectedRow

DevExpress XtraGrid RepositoryItemButtonEdit event is not firing

人走茶凉 提交于 2019-12-10 13:26:07
问题 I have added a new ButtonEdit column to my gridview, I turned buttons to ImageButton. I added button_click event but event is not firing. Should I bound - unbound something to my columnbutton? Here are the properties: // // gvPrompt // this.gvPrompt.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gcID, this.gcName, this.gcPromptFileName, this.gcTypeName, this.gcDomainName, this.gcPromptText, this.gcLanguage, this.gcPromptPlayType, this.gcDuration, this.colPlayPrompt}); *

Why would overwriting .GetHashCode clear these databound values in WinForms?

拈花ヽ惹草 提交于 2019-12-10 12:31:11
问题 We have run into a strange bug that we're having problems debugging. We have a MDI workspace that uses Microsoft CAB, DevExpress components, and .Net 3.5. If users open two windows in the workspace that each contain a UserControl bound to two separate data models, then minimize both of them, the first window to minimize is getting it's bound fields cleared when the second one minimizes. The .Equals and .GetHashCode methods of the data model have been overridden so that both data models are

how to use javascript on AspxGridview

梦想的初衷 提交于 2019-12-10 12:19:36
问题 <dx:ASPxGridView ID="ASPxGridView1" runat="server" AutoGenerateColumns="False" ClientInstanceName="ASPxGridView1"> <Columns> <dx:GridViewCommandColumn VisibleIndex="0"> <EditButton Visible="True"> </EditButton> <NewButton Visible="True"> </NewButton> <DeleteButton Visible="True"> </DeleteButton> </dx:GridViewCommandColumn> <dx:GridViewDataTextColumn Caption="Content" FieldName="Content" VisibleIndex="1"> </dx:GridViewDataTextColumn> <dx:GridViewDataTextColumn Caption="Ratio5%" VisibleIndex="2

How do I change a DevExpress project's theme after creation?

不问归期 提交于 2019-12-10 12:17:34
问题 I've created a DevExpress Web project (.NET) and picked a theme in the wizard. I'm now having some sizing issues with the theme and can't figure out how to change the theme without creating a new project and going through the wizard again, and then copying my code to the new project. I'm assuming there's a setting somewhere that I'm missing. Can someone point me in the right direction? 回答1: Source: Project Wizard documentation The Choose Theme tab allows you to specify a theme to be applied

Is there a ComboBox that has Items like a TcxRadioGroup?

末鹿安然 提交于 2019-12-10 11:54:45
问题 The TcxRadioGroup component of DevExpress has a very nice way to specify items. You can specify a Caption and a Value (and a Tag) for each TcxRadioGroupItem. The TcxComboBox and the normal TComboBox of Delphi on the other hand use TStrings to store its items. While TStrings can have a Name and an Object, there is no easy way to hook up a name and a value using the form designer of the Delphi IDE. Is there a ComboBox control (preferably from DevExpress) that allows to visually design its items