3,330 questions with ASP.NET tags

Sort by: Updated
0 answers

User.identity.getuserid() returns null after signin.

I have a piece of code for login in asp.net C# webform. it uses inbuilt login function, and User.Identity.GetUserId() to catch the userId. But after login the User.Identity.GetUserId() returns null. Below is my login code // Validate the user password …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,423 questions
asked 2024-05-10T02:12:49.11+00:00
Emeka Okoye 66 Reputation points
edited a comment 2024-05-13T01:26:12.1533333+00:00
Lan Huang-MSFT 26,761 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

"owl carousel" not working when appending data dynamically using jquery

I'm appending the data dynamically to "owl carousel" and initially the data is showing correctly and next (when I click the button) I'm erasing and re-assigning the data to the "owl carousel" (because the data will keep change) at…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
906 questions
asked 2024-05-06T04:31:47.04+00:00
Ashok Kumar 201 Reputation points
commented 2024-05-12T12:32:51.0733333+00:00
Ashok Kumar 201 Reputation points
1 answer

How to update/save a file in a database in web application

i have a code error and i wish i can get it fix by your noble helps or interventions here is a code block that updates a new product on a product page in a web application this is the code behing the productController.cs file for the cshtml file…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
asked 2024-05-07T15:39:22.68+00:00
KwebenaAcquah-9104 306 Reputation points
edited a comment 2024-05-11T10:32:01.4633333+00:00
KwebenaAcquah-9104 306 Reputation points
2 answers

An old ASP.NET WebForms app won't build due to missing references and related

I maintain an old ASP.NET WebForms application, written using VB.NET so long ago that no one knows who started this application. The guy who maintained it, before I was given it, left before I joined. He didn't put anything in any source control, and he…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,730 questions
asked 2024-05-08T21:06:30.9666667+00:00
Falanga, Rod, DOH 80 Reputation points
commented 2024-05-10T22:28:36.3666667+00:00
Albert Kallal 4,971 Reputation points
0 answers

我们用webform框架使用edge弹窗用什么方式兼容性最好?

使用webform框架RegisterStartupScript方法注入JS实现弹窗功能,在edge浏览会有卡死的情况。请问有什么好的方式来处理这种兼容性问题?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
asked 2024-05-10T02:28:01.4133333+00:00
罡 孙 0 Reputation points
commented 2024-05-10T03:42:42.5466667+00:00
Lan Huang-MSFT 26,761 Reputation points Microsoft Vendor
1 answer

What NuGet package to I use for Microsoft.Office.Interop.Excel?

I maintain an old ASP.NET WebForms application, which is at .NET Framework level 4.5.2. The original developers incorporated an Excel report in this application. I'm trying to get the app to build using a GitHub Self-Hosted Runner running on one of our…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,599 questions
asked 2024-05-07T21:01:02.6533333+00:00
Falanga, Rod, DOH 80 Reputation points
commented 2024-05-09T06:59:48.2+00:00
Lan Huang-MSFT 26,761 Reputation points Microsoft Vendor
1 answer

How to enable CSP in asp:UpdatePanel without having to write 'unsafe-inline'

I have an asp:UpdatePanel and asp:ScriptManager in my web form. When I enable CSP in the web.config as below, the functionality of the pages are not working like 'OnSelectedIndexChanged' event of asp:DropDownList and many more. <add…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,482 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
asked 2024-05-08T14:30:44.39+00:00
Preeti Gupta 0 Reputation points
edited the question 2024-05-09T06:37:24.76+00:00
Jiale Xue - MSFT 38,101 Reputation points Microsoft Vendor
0 answers

CultureNotFoundException Querying SQL database using EF

Hello, I have a Web App (ASP.NET MVC) with controllers making CRUD operations using EF 6. Any operation involving the EF context to read data generates the following exception The Web App is localized in it-IT, setting up ThreadCulture and…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
asked 2024-05-06T10:18:01.0933333+00:00
Setteidea SRL 0 Reputation points
commented 2024-05-08T20:52:29.0833333+00:00
Erland Sommarskog 102.6K Reputation points
1 answer

ASP.NET - The specified network password is not correct - X509Certificate2

I have a .NET web application where trying to import the certificate using the "X509Certificate2". While importing, getting the "The specified network password is not correct.". The certificate is password protected .pfx file and I'm…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
asked 2024-04-30T12:08:12.77+00:00
Nabeel Farooq 0 Reputation points
commented 2024-05-08T17:04:30.0833333+00:00
Nabeel Farooq 0 Reputation points
1 answer One of the answers was accepted by the question author.

Jquery DataTable not working after appending the html code to DataTable using jQuery

I have created a datatable and appending the data to that datatable body , data appending successfully but the datatable not working properly ex:- If I click on the datatable header columns the entire table data is erasing. Here is my full logic…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
906 questions
asked 2024-05-06T13:26:54.2166667+00:00
Ashok Kumar 201 Reputation points
accepted 2024-05-08T08:29:34.45+00:00
Ashok Kumar 201 Reputation points
3 answers One of the answers was accepted by the question author.

How to Create simple HTML/CSS project in Visual Studio 2022

I'm so used to creating simple HTML projects in 2019. How do I do the same thing in 2022? I don't want Core at all, just a project that will launch from a basic index.html. I can't even find a way to add an HTML file to an empty project. What's the best…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,482 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
asked 2024-05-07T19:07:57.77+00:00
Coreysan 1,651 Reputation points
commented 2024-05-08T03:51:44.01+00:00
Coreysan 1,651 Reputation points
1 answer

why url converts https:// instead of http

Hello We have one domain name for example www.abcd.com i shared this link to our team via whats app when they click it automtically converting https:// how to solve so that the link can be open in http only

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
asked 2024-05-06T10:47:19.84+00:00
RAVI 936 Reputation points
edited a comment 2024-05-08T01:27:29.2033333+00:00
XuDong Peng-MSFT 10,181 Reputation points Microsoft Vendor
3 answers

How to pass values from a Razor page to an Asp.Net MVC controller

I am working on an Asp.Net Core MVC project. The identity was scaffolded and uses Razor pages. When the user enters the username and password, if they are valid, they will be redirected to an MVC controller where they have to answer a security question.…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,254 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
asked 2024-05-07T02:32:23.82+00:00
Sherpa 181 Reputation points
commented 2024-05-07T16:57:05.75+00:00
Sherpa 181 Reputation points
1 answer

AppShell- Failed to Navigate Back, Ambiguous routes matched for.... but i've only registered routes once

I am building an Xamarin Forms app for iOS and Android. I registered my routes in AppShell.xaml.cs globally like this: **-AppShell.xaml.cs-** Routes.Add(nameof(HousingFolderPage), typeof(HousingFolderPage)); Routes.Add(nameof(HousingFolderDetailsPage),…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,305 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,423 questions
asked 2023-03-26T23:28:07.2466667+00:00
Nabil 6 Reputation points
edited a comment 2024-05-07T09:58:25.1033333+00:00
Horton 0 Reputation points
1 answer

Do you know of any forum sites that except questions about uwp making apps & coding, from visual studio 2022

Do you know of any forum sites that except questions about making uwp apps & coding, from visual studio 2022

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,482 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,254 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,135 questions
asked 2024-04-19T11:34:06.13+00:00
Luke Ferguson 66 Reputation points
edited the question 2024-05-07T00:55:57.38+00:00
Roy Li - MSFT 32,491 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Dangerous site - attackers on the site you're trying to visit might trick you

I have an intranet site. This site is hosted on our internal server 2019 on IIS version 10.0. This website is just a web page that enables the employees to fill out their information and then populates a .pdf file from the information that they fill out.…

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,254 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,423 questions
asked 2024-04-19T18:56:41.28+00:00
Anjali Agarwal 1,386 Reputation points
accepted 2024-05-06T23:51:20.61+00:00
Anjali Agarwal 1,386 Reputation points
3 answers One of the answers was accepted by the question author.

How to upload file and view those file in modal popup using gridview

I need help in gridview. i am using normal add, edit and delete functionalities in gridview. This is working fine. Initially i am saving the records using textbox controls and save button. This contains including file upload also. After saving the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,423 questions
asked 2024-04-17T14:56:04.6833333+00:00
Gani_tpt 1,806 Reputation points
accepted 2024-05-06T17:33:43.1366667+00:00
Gani_tpt 1,806 Reputation points
2 answers One of the answers was accepted by the question author.

round value automtically

Hello I have one Label1 and textbox1 for example Label1 has value = 490.56 In textox1 i have to show round off value on button click = 0.44 for example Label1 has value = 30.12 In textox1 i have to show round off value on button click = -0.12 how to do…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
asked 2024-05-04T14:40:44.82+00:00
RAVI 936 Reputation points
accepted 2024-05-06T10:42:48.7466667+00:00
RAVI 936 Reputation points
3 answers One of the answers was accepted by the question author.

How to view/show image from file server path on button click

i am developing asp.net application. i am uploading many image documents in file server path like example (\server2\prj1\picture1.png) At the same time, i want to view/show the same file (image document) on button click event. How to show this image…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,423 questions
asked 2024-04-27T18:06:29.1133333+00:00
Gani_tpt 1,806 Reputation points
commented 2024-05-06T10:18:55.25+00:00
Gani_tpt 1,806 Reputation points
1 answer One of the answers was accepted by the question author.

Ado.Net Entity Data Model does not appear on item page in Visual Studio 2022 Asp MVC Project

Ado.Net Entity Data Model does not appear on item page in Visual Studio 2022 Asp MVC Project FrameWork= .:Net 7.0 Please help. Thanks not as below

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,482 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,730 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,423 questions
asked 2023-01-17T06:10:50.91+00:00
umutins umut 20 Reputation points
commented 2024-05-04T19:33:45.9733333+00:00
Marcelo Pintado 0 Reputation points