Skip to main content

All Questions

Tagged with
0 votes
0 answers
16 views

Footable: How to render same hidden columns multiple times within a single row

I am using row expand feature of footable to show hidden columns within a row (on click). What I have/Issue: I have same column description which is repeating 4 times (as it has 4 services associated ...
Dragut's user avatar
  • 117
0 votes
2 answers
47 views

EventCallback as CascadingValue in Razor components using @Body?

I do not seem to be able to supply a callback from the parent component to the child, when teh child is rnedered using @Body: <CascadingValue Value="isGB"> <...
Patrik Nusszer's user avatar
0 votes
0 answers
58 views

Why trying to pass parameters to razor components cause problem in Server Blazor?

I am trying to integrate Razor views into my ASP.NET Core 8 MVC web application. The thing is, it works, until I pass parameters. Then, it does not throw any exception, instead the browser says ...
Patrik Nusszer's user avatar
0 votes
2 answers
83 views

ArgumentException on async get method in repository. ASP.NET Core - Razor Pages

I'm asking this question because I haven't found any solution. I rewrote my code multiple times by tutorials but nothing changed. Broken query method in ReadRepository.cs: public async Task<T> ...
dorvazgon's user avatar
0 votes
3 answers
94 views

How to pass value from controller to view and display it in a text field or label

I am a bit stuck trying to figure out on how to show the value of a field model.SumValue which I am calculating in the controller class in a input field or a label. Controller class - public ...
Dazzler's user avatar
  • 382
0 votes
0 answers
39 views

Cannot see any changes i made in the cshtml file on browser

I'm a newbie in programming (17 y.o), and I am currently struggling with ASP.NET. When I create a .cshtml file and try to test it in the browser, I see the default interface that Microsoft provides. ...
Kanan Akhundov's user avatar
1 vote
2 answers
67 views

InvalidOperationException: The view 'AddValue' was not found. Partial View not found when submitting form data

I'm trying to insert data into two table from a single View Page. I've used two different view model to do that. So I have to make a partial view for inserting data in second table. Now full page is ...
Abdullah Al Mahmud Khan's user avatar
0 votes
0 answers
46 views

StateHasChanged not updating UI

i know this is a common problem, but none of the solutions resolved my issue. All explanations seemed logical at first but after implementing them it did absolutely nothing and im kinda at a loss here....
ComfortableOnion's user avatar
0 votes
0 answers
47 views

Using <select></select> to Show Name + Surname and value = "id"

I tried to show all users with role "Trainer" and choose one of them. But post an id. select returns null. <div class="form-group"> <label asp-for="...
speedevil123's user avatar
-1 votes
1 answer
40 views

@await RenderSectionAsync giving "Cannot await 'method group' "

I am creating a razor application consisting of two simple user inputs and two navigation tabs with 'save' and 'cancel' button for the user inputs. I have pasted below part of the _Layout.cshtml code ...
Akhil Josef's user avatar
0 votes
0 answers
15 views

Lag issue using embedded font from https://use.typekit.net/

I created a web app using .net 8 I am embedding font from adobe in _Layout.cshtml using <link rel="stylesheet "href="https://use.typekit.net/uvj5bpg.css"> when I run the ...
nothign's user avatar
0 votes
1 answer
49 views

display errors in form from a controller base

I have implemented a login form that utilizes the login controller, which serves as a base controller. While the controller functions properly, my concern lies with error handling. Regrettably, I am ...
Lemon Grab's user avatar
0 votes
0 answers
25 views

How can I get a scoped DataContext into DBLogger in .Net 8 Razor

I got a DBLogger implementing ILogger and also myDBLoggerProvider implementing ILoggerProvider in a Razor Project A. This requires a DataContext of type SysDataContextBase to be able to write logs ...
JPScerri's user avatar
  • 127
0 votes
1 answer
28 views

How do you import the builder lines for the Program.cs file from a Blazor to a Razor project?

I have a massive Razor project that I'm trying to convert to Blazor. To make things easier, I want to incorporate Blazor into the Razor project as I convert pieces over so I don't need to keep ...
cavlier145's user avatar
0 votes
0 answers
27 views

HttpPostedFIleBase is always null, but other values come in

I've researched all the other posts like this and I'm still so stuck. I'm trying to post the name, pronunciation, bio, website, and image and everything but the image is coming through - it's always ...
Kattte's user avatar
  • 29

15 30 50 per page
1
2 3 4 5
374