Questions tagged [xaf]

The DevExpress eXpressApp Framework (XAF) is a modern and flexible .NET application framework that allows you to create powerful line-of-business applications that simultaneously target Windows and the Web.

XAF's scaffolding of the database and UI allows you to concentrate on business rules without the many distractions and tedious tasks normally associated with Windows and Web development. XAF's modular design facilitates a plug and play approach to common business requirements such as security and reporting. Learn more on features and benefits at http://www.devexpress.com/xaf

264 questions
2
votes
0 answers

DevExpress eXpressApp Framework (XAF) - Extension property with drop-down list

I'm trying to add an extension property to the model column that allows to select value from the drop-down list. So when I open Model Editor and choose some column in ListView I will be able to select value from the list for this extension…
kyrylomyr
  • 12,192
  • 8
  • 52
  • 79
2
votes
3 answers

Get navigation items in DevExpress eXpressApp Framework (XAF) application

I have a eXpressApp Framework (XAF) desktop application. The main window contains Navigation pane with tree of items. Is there any way to obtain the list of navigation items in code?
kyrylomyr
  • 12,192
  • 8
  • 52
  • 79
2
votes
0 answers

WinForm Code To XAF Code Operation ListView

WinForm C# Application working good with ZK sdk but now need to connect from XAF Cross Platfor App with zk device or other sdk suitable device data received. Thank you in advanced. Connect ZK Device on C# WinForm > private void…
IT_
  • 21
  • 3
2
votes
1 answer

XAF - Stop auto save when trying to add new child in parent child view

When trying to add record in child view, it require to save the parent record. how can i stop this behavior? Look into the photo
FALSE-X
  • 23
  • 2
2
votes
1 answer

Xaf new project has yellow triangles

I upgraded to the latest version 21.2.6. If I create a new project, the references show as 21.2 in the .csproj file However the assemblies all display with yellow triangles. The same is true if I open a sources project. I can fix the issue by…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
2
votes
1 answer

Cannot install nuget package because the current nuget package manager version is not supported (Entity Framework)

I upgraded to VS2022 and Dev Express XAF 21.2.4. When I run the Xaf wizard to generate a Winforms Entity Framework solution I get the following error: Cannot install NuGet package because the current NuGet Package Manager version is not supported.…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
2
votes
1 answer

devexpress XPO calculated property on child collection select n + 1

I have a XPO domain object Order which has a association with OrderLine. In order I have a property Profit which is implemented as public decimal Profit { get { decimal result = 0; foreach (OrderLine ol in this.OrderLines) …
olle
  • 4,597
  • 24
  • 28
2
votes
1 answer

How to deserialize JSON to XPO objects using the current session?

I have serialized xpo objects into JSON data in separate project using default session. But when I try to de-serialize the same within view controller i am getting default session error. I am able to get the current session but I am not sure how to…
Ashraf Ali
  • 31
  • 2
2
votes
2 answers

Inject asp.net core middleware from inside a library to a specific location

I am developing a plugin and I need to inject another middleware into the user StartUp.cs, is there a way to it without modifying the user StartUp.cs? The only way I can think of is actually patching the runtime and inject the required IL…
Apostolis Bekiaris
  • 2,145
  • 2
  • 18
  • 21
2
votes
1 answer

Specified LocalDB instance name is invalid: Able to create migrations but not run them

I created a new XAF Blazor solution and was able to run it to create the database. I then added a database migration as per this question However when I go to run the migration from within package manager I get Microsoft.Data.SqlClient.SqlException…
2
votes
1 answer

Unable to create an object of type 'MyEFCoreDbContext' xaf Blazor EFCore

I created a new project with the XAF Blazor 20.2.3 wizard and upgraded the EFCore packages to 5.0. In PM I ran Install-Package Microsoft.EntityFrameworkCore.Tools However when I run add-migration initial I get Unable to create an object of type…
2
votes
4 answers

No connection string named 'ConnectionString' could be found in the application config file (EF parameterless constructor )

When I create a new Dev Express XAF application using the wizard 20.1.3 for .netcore3.1 the code works fine. I can enable migrations and run a migration without problems. (Or so I thought ... see below) However for certain reasons (my legacy call…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
2
votes
2 answers

Why is Desktop bridge creating a .msixupload bundle when it used to create a .appxupload?

I am using VS2017 15.9.6 with an XAF Winforms application and Desktop Bridge. At one point I was able to create a .appxupload package to upload to the store however now I can only create a .msixupload bundle The docs dont seem to explain the…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
2
votes
1 answer

The operation could not be completed devenv /setup

I am troubleshooting why my xaf xafml files open in xml instead of the designer and looking at the help here Here is my console output of me trying to run devenv /setup C:\>cd c:\Program Files (x86)\Microsoft Visual…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
2
votes
1 answer

Unable to load DLL 'SQLite.Interop.dll' on Visual Studio 2017 for UWP project

I get this error when using SQLite. DllNotFoundException: Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) I tried several solution without success. Tried using…
Vallo
  • 1,827
  • 2
  • 21
  • 42
1
2
3
17 18