All Questions
15,673 questions
0
votes
0
answers
20
views
MudBlazor MudMenu not opening on ChangePassword page in Blazor Server with ASP.NET Core Identity
I am developing a Blazor Server application based on .NET 9 that uses ASP.NET Core Identity. The identity components (like ChangePassword) are coming from the MudBlazor template. Now, for some reasone,...
0
votes
0
answers
33
views
Email Embedded file (via "cid:" link) working on android phones but not on iPhone / iPad?
I'm trying to make a backend-service that sends out email with an "Add to Apple Wallet" Button. This works, the email is there with text and a "Add to Apple Wallet" button rendered....
0
votes
1
answer
34
views
WebView2CompositionControl displays content blurred
I'm using a WPF WebView2CompositionControl to display an instance of Monaco Editor, but the content is blurry.
At first I used the WebView2 control but this control has the issue that it is always ...
-1
votes
1
answer
95
views
ASP.NET MVC app request.form returns null
public ActionResult AddFood()
{
if (Session["uid"] != null)
{
string email = Session["uid"].ToString();
var user = HomeController.Users.FirstOrDefault(x =&...
0
votes
1
answer
40
views
Dropdown button works every other time with modal popup window using ajax
I recorded a short video of my problem.
When the modal window is opened and closed, the dropdown button isn't working, but when I open and close the modal window again, it works as expected. How to ...
0
votes
1
answer
78
views
What could be interfering with MaintainScrollPositionOnPostBack="true" on ASPX website
Purpose
I am building an ASPX website. It is a form type of webpage, there are 55 questions. For each question, there are three answers, and to lay these out a use a CSS grid style to make sure ...
1
vote
1
answer
126
views
Populating dropdown with data entered by other users
I have an ASP.NET MVC application that is hosted on a server that takes multiple users. The way the application works is that it has multiple pages that are all part of one larger form, so each page ...
0
votes
0
answers
47
views
C# Search and Replace but ignoring html tags
I am trying to bold text in an html page from a controller before it's rendered on a page. I cannot seem to figure out how to replace text and ignore the html elements.
For example.
<p>
This is ...
0
votes
1
answer
55
views
How to write HTML syntax to view in ASP.NET Core
I have content which includes HTML tags, but when I write the value to the view, it encodes it and the HTML tags are messed up.
I've tried to use HtmlDecode, but same issue.
Code:
@WebUtility....
0
votes
1
answer
97
views
How to write style using Html.Raw in ASP.NET MVC
I am trying to write a style using Html.Raw in an ASP.NET MVC view but it is not working. If I check page source, then that particular style is not there in HTML source in <head>.
I have tried ...
0
votes
1
answer
83
views
Problem with display in sub menu with Blazor
I have the following project (Blazor WASM), where, in my NavMenu.razor, the options of the "Products" submenu are not displayed. The menu is based on Bootstrap 5. I am new to this. Please, ...
1
vote
1
answer
68
views
Using TagBuilder to render HTML on the page
I am using TagBuilder to return HTML, what's happening is the HTML is rendering as text, this is part of the code:
private string RenderAlert()
{
//<div class="alert-box">
var ...
0
votes
2
answers
148
views
Getting username of logged in user with Negotiate/Windows domain credentials
What I thought would be a very simple task has turned out to be the opposite of that.
I'm building a fairly simple web app with blazor and I've got windows domain credential based authentication ...
2
votes
1
answer
116
views
Selenium error from unspecified arguments
I am trying to write a test for a HTML page. I am getting an error when my C# code attempts to click a button on the screen. The button works as intended when I click it manually, but my code produces ...
0
votes
0
answers
32
views
How to add url segment automatically using baseref?
I have a Blazor server-side app and I added the following in _Host.cshtml:
<base href="~/Sub" />
I also changed the launchsettings.json:
{
"iisSettings": {
"...