Käyttäjän "cbogner85" toiminnot

Hi there; Sorry I don't have an answer to your question. But Im also a DevExtreme user and have found it difficult to integrate DevExtreme with ABP.IO (and aspnetzero).

Do you have problems with the .Key("id") part? i've found that since ABP uses inherited ID numbers, DevExtreme has a hard time finding the ID. i've had limited success working with the JSON configuration (camel case vs pascal case).

Sorry, didn't mean to hijack your post, Im looking forward to their response as well.

Best, --Dave

Hi Dave,

No problem :-)

With ASP.NET Zero, I used DevExtreme jQuery version instead of the HTML wrappers as suggested by ABP developers. It worked great, however I couldn't use benefits of the wrappers such as syntax highlighting etc.

With abp.io Commercial I started to use DevExtreme ASP.NET Core Controls/ wrappers as described in the following community article: Using DevExtreme Components with the ABP Framework.

I think the most important part is to create specific AppService methods for DevExtreme. E.g. I create a GetDxListAsync method that mirrors standard GetListAsync behaviour but uses DataSourceLoadOptions as input paramter and returns LoadResult instead of PagedResultDto. If you use standard ABP methods, it works as well, however DevExtreme pagers won't work and you'd have to use nested json field names, e.g. items.id as id parameter.

Regarding PascalCase/ camelCase: The community article suggests to use JsonProperty attributes to change ABP's behaviour of converting names to camelCase. I don't do this as I prefer camelCase in json objects. If you don't set JsonProperty, you can just use id or productName as field names (as in my snippet above) instead of Id or ProductName. However, if you want to use columns.AddFor(m => m.ProductName); it won't work with pascalCase. Therefore I created an extension method AddCamelCaseFor as suggested by DevExpress Support (How to enable camel case for DevExtreme MVC Controls / MVC Controls - How to allow CamelCase for AddFor methods.

Let me know if I can assist further.

Best Claus

Hi liangshiwei,

I'm using non tiered architecture.

Therefore, this snippet:

private void ConfigureAutoApiControllers() 
{ 
    Configure<AbpAspNetCoreMvcOptions>(options => 
    { 
        options.ConventionalControllers.Create(typeof(MyProjectNameApplicationModule).Assembly); 
    }); 
} 

worked like a charm, thank you! I was hoping for such a simple solution but couldn't find it myself :-) Thanks!

Thank you cotur, that sounds great. Looking forward to the Cms-Kit documentation :-)

Best Claus

Hi @maliming,

thank you very much - it worked :)

Best regards Claus

Hi @maliming,

thank you very much, it worked like a charm!

Best regards Claus

Hello,

I also have the font loading error in my react app.

My project was created with version 3.3, but even after upgrading to 4.1 the problem still exists. Has it been fixed already? It seems that "abp update" doesn't update the react package - how can I upgrade my react to 4.1?

Thanks and best regards Claus

Hi maliming,

thank you for your quick reply!

I couldn't imagine that such a mature plugin like jquery-validation has problems with different cultures, therefore I assumed an error in abp. Sorry for the inconvencience and thanks for pointing me in the right direction :)

Best Claus

Näytetään 21 - 27/27 tietueesta
Made with ❤️ on ABP v8.2.0-preview Updated on maaliskuuta 25, 2024, 15.11