Invoke Custom Method : empty choice in list box

Hi guys
since 3 hours i fight against a Upload Component + the ICM.
nothing appears in my drop list
i'm on version 2.30.5
i tied to change namespace, run radzen, etc...
Ok i'm not very pro in angular.... have you a idea?

thanks in advance

here is my code:

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace TibiAdmExperience.Controllers
{
[Route("api/[controller]/[action]")]
public class ServerMethodsController : Controller
{
// Sample method which returns the sum of its arguments
// For more examples check https://www.radzen.com/documentation/invoke-custom-method/
public IActionResult Sum(int x, int y)
{
var sum = x + y;

        return Json(new { sum });
    }
    public IActionResult UploadFiles(IEnumerable<IFormFile> files)
    {
        return StatusCode(200);           
    }
}

}

That's odd. The exact same method displays as expected in a test project.

Maybe something else in your project prevents Radzen from getting the method. Can you try in a new application?

thanks for this answer at 21h37 in France...
I try ...now

arrrggggrrr you have right....
new projet, after first run, its ok.
now i'll try to repair my big projetc.

I want to say again, your product is awesome. really, every day i find new possibility, tomorrow i'll create a project in blazor and pwa if possible.
thanks
Dominique

If you can't find what is causing the problem in your app you can zip it and send it to info@radzen.com and we will take a closer look. Just delete the server\bin and server\obj directories to reduce the zip file size.

ohhh, you're really nice
but i try to understand.
have you a idea for this pb ?
I'll send you in the possibility.

what is special on this projetc :
server/Controllers/ApplicationUsersController.cs is in ignore list, because i made a modification on the constructor to inject the dbcontext for my needs.

other selecting drop box are ok ...data source etc.

Adding the ApplicationUsersController to ignore list shouldn't be causing the problem. Something else is prevent Radzen from parsing out the custom methods. The only way to be sure is to try it locally.

Can you show us what was the problem? Why Radzen is not being able to populate the list of Custom Server Methods? @korchev