Search results for query: *

  • Users: Pablo
  • Content: Threads
  • Order by date
  1. P

    Question Starting Mobile Development with C# (and Android)

    Hello all I am an experienced C# programmer, desktop applications and video games. I would like to get into Mobile development, for example to make an app for my cell phone. By now, the only I know is that a Mobile app file extension is .apk. I don't even know if this is the correct sub forum. I...
  2. P

    Question MudBlazor simple syntax various errors in Cascade Dropdownlists

    Hello all, I'm trying to move to MudBlazor starting by the page with the Cascade Dropdownlists, which before worked perfectly, but I know I have to upgrade to MudBlazor. Here's a screenshot with the errors: The error message says: Argument 2: Cannot convert from method group to...
  3. P

    Question Moving to MudBlazor project, it doesn't recognize the Models namespace

    Hi all, So I was training with Blazor CRUD and so, going quite well, and I created a new MudBlazor project to practice with the best (as suggested cjard), and move all the stuff to it. To be brief, it does recognize everything, the Interfaces namespace (directory), the Services namespace...
  4. P

    Question <input type="text" @bind-value="@client.Name" generating a lot of errors - Blazor

    Hello all, I'm working on the Add/Update page. Before, I had typed just value instead of @bind-value, and it appeared the correct value, but those fields were not updated. (Could it be because it was missing the "two way" binding?). Then I changed to @bind-value as you can see in the code, and I...
  5. P

    Question How to get table row data (such as Id) on same row button click - Blazor

    Hello, How can I get data from a table row (such as Id or other columns) on click method from a button that is in the same row? So I can pass an Id to the Delete method or something like that. This is my .razor file: @page "/ClientList" @using WebAPICountries.Models @using...
  6. P

    Question How to pass data from a page to another in Blazor

    Hi all, So I'm progressing in my web dev learning. Now I'm working on a project that is not from a tutorial, but on my own. I have on my clientList page a click event handler method that takes me to the editClient page, and I have to pass an Id to it, and I can't figure how. My method looks...
  7. P

    Question How access the connection string declared in appsettings.json in Blazor

    Hi, So I was able to add a connection string to the file appsettings.json, but I can't find the way to retrieve it in my 'Service' C# code file which gets data from the DB. What I could know is that I need an IConfiguration object, through whose GetConnectionString() method I would get the...
  8. P

    EF problem in Blazor CRUD tutorial

    Hello, So I'm still trying to learn Blazor, and as I don't find CRUD with ADO tutorials, I went to one that uses EF. First, using the Package Managing Console, I added the Migration Initial succesfully, then when entering Update-Database, I got this message...
  9. P

    Question Moving to MudBlazor - Runtime error in page - I can't see MudTextField

    Hello, I'm trying to practice with MudBlazor doing the same I did before without it (but more complex this time, I added the KeyDown event), and it seems something related to the MudTextField is wrong, because it is not shown in the page (the MudButton is) and at the bottom of the screen it says...
  10. P

    Question MudTextField OnKeyPress event handler Signature (parameters)

    Hi, Can I handle OnKeyPress on MudTextField getting the char before writting it, like in WinForms? How? How would the C# method parameters be? And how to add it inside the MudTextField tag? I have something like this, and tried searching but found nothing, and think I'm missing something...
  11. P

    Question Navbar Menu on the left is semi transparent after including MudBlazor to MainLayout.razor - Blazor

    Hello colleagues, I have already started practising with MudBlazor, as cjard sugested me. The first issue I went into is that the left Navbar Menu started appearing semi transparent after adding MudBlazor "installation" code to MainLayout.razor (I followed the instructions to be able to use...
  12. P

    Question Blazor simple demo syntax errors

    Hi colleagues, As cjard has advised me, I'm trying to learn Blazor as web development instead of MVC. I'm following this tutorial, but although I'm copying it literally, I can see a few syntax errors which I can't figure out how to solve in the Page I'm working on. I already added the TodoItem...
  13. P

    Question How to write C# method for getting data in JavaScript without returning Status200Ok or so.

    Hello! I'm a desktop app and videogame developer and I'm learning web development. I followed a tutorial about CRUD in ASP.NET Core MVC, which lists, adds, edits, and removes employees' data. My app starts with an html table with the employees' list, each field in a <td> (a row cell); all fields...
  14. P

    Razor app jQuery UI dialog to confirm delete registry method

    Hi, I'm new to the forum. I use C# since many years ago, but just now I'm learning web development. I'm with a Razor Pages application that uses a Sql Server DB via ADO.Net, I managed to write Add and Update actions and that are done in the same Razor Page, and I have another Razor Page that is...
Back
Top Bottom