3,219 questions with ASP.NET tags

Sort by: Updated
0 answers

ASP.NET: javascript works only for 1 CheckboxDropdown and ignores the other

I'm trying to use CheckboxDropdown control (checkboxes inside a dropdownlist) using JavaScript and it worked fine but only for 1 CheckboxDropdown here is the aspx: <select id="ddlPassport" class="form-select form-select-sm"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 questions
asked 2023-03-01T07:43:20.6866667+00:00
mush 181 Reputation points
commented 2023-03-02T06:07:34.3866667+00:00
QiYou-MSFT 4,306 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Determining If Entity Is Unique In Repository Pattern

Hello, Using c# and ASP .Net Core 6 I have an N-Tier web application that has implemented a Repository Pattern and Unit of Work. In this web application, an Admin can create a Hashtag, based on the following model: public class Hashtag { [Key] …

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
689 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,076 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 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,095 questions
asked 2023-03-01T05:27:49.4533333+00:00
Brian Ashcraft 100 Reputation points
commented 2023-03-02T01:26:18.22+00:00
Jack J Jun 24,276 Reputation points Microsoft Vendor
0 answers

Azure DevOps REST API - Why does it take so long to retrieve parent/children work items?

This is specific to Azure DevOps REST API library, but there are no tags for it I am creating a core MVC application to retrieve all Features and child PBIs from an Area Path and Iteration path. I am using the Get Work Item and Get Workitems Batch REST…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,076 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 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,095 questions
asked 2023-02-20T18:27:43.51+00:00
Timothy Fischer 121 Reputation points
edited the question 2023-03-01T20:12:02.58+00:00
Reza-Ameri 16,771 Reputation points
2 answers

Issue when check identity FindByNameAsync on debug it hang and stuck and not complete ?

I work on .net core 7 blazor web app . i face issue when working on identity user register . when debug on function userManager.FindByNameAsync it hang and stuck so I try to add watch to function userManager.FindByNameAsync to check reason I get message…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,076 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,349 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 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,095 questions
asked 2023-03-01T12:20:56.7066667+00:00
Ahmed Salah Abed Elaziz 390 Reputation points
edited an answer 2023-03-01T18:43:27.1466667+00:00
Ahmed Salah Abed Elaziz 390 Reputation points
5 answers One of the answers was accepted by the question author.

Publish to Azure succeeds but Visual Studio says that it failed.

With the publish profiles that I have for my Azure Web Apps, when I publish, the output information is that the publish succeeded but the publish page says that the publish failed. Usually I have fixed this by creating a new publish profile, but I have…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,685 questions
asked 2022-09-29T19:56:48.06+00:00
Carolyn Schroeder 186 Reputation points
edited the question 2023-03-01T13:41:15.0266667+00:00
ajkuma 21,501 Reputation points Microsoft Employee
1 answer

Localhost redirected you too many times

I have a login code that redirects users upon login - admin is redirected to admin pages inside Admin folder after login, while other users are redirected to pages in the root directory. This has been working well for quite some time; today it gave me an…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,262 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 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,095 questions
asked 2023-03-01T11:23:23.8533333+00:00
Donald Symmons 2,806 Reputation points
answered 2023-03-01T11:51:42.6533333+00:00
Donald Symmons 2,806 Reputation points
1 answer One of the answers was accepted by the question author.

Can custom errors automatically redirect to custom error pages according to the error?

In trying to create custom pages in my asp application I found out that this code in the web config file can be used to redirect to its related custom page <system.webServer> <httpErrors errorMode="Custom"…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,262 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
756 questions
asked 2023-03-01T08:22:12.9433333+00:00
Donald Symmons 2,806 Reputation points
accepted 2023-03-01T10:53:45.7366667+00:00
Donald Symmons 2,806 Reputation points
1 answer One of the answers was accepted by the question author.

Hide and show div tag in a gridview based on the value of griview column

How can I show and hide div tag inside gridview based on the value of the column? For example if a column has a value of 1, then it should display a particular div and the hide the other Here is the error below I tried this and it did not…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,262 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 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,095 questions
asked 2023-03-01T08:16:48.0366667+00:00
Donald Symmons 2,806 Reputation points
accepted 2023-03-01T10:38:16.7933333+00:00
Donald Symmons 2,806 Reputation points
0 answers

trying to get the data from active directory

Hello, I am trying to get the data from active directory. this is my code: UserPrincipal up = UserADIdentity.GetADUserInfo(WindowsIdentity.GetCurrent().Name.ToString()); public static UserPrincipal GetADUserInfo(string userName) { …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,076 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 questions
asked 2023-03-01T04:21:06.91+00:00
Anjali Agarwal 1,346 Reputation points
commented 2023-03-01T08:45:21.39+00:00
Brando Zhang-MSFT 2,636 Reputation points Microsoft Vendor
2 answers

How to hide buttons related to data table 3 button print and export and copy ?

I work on asp.net web forms . I face issue I can't hide buttons display related to table id example . from inspect element all these buttons (Export-copy-print) take class selector dt-buttons . so How to hide these buttons(print-copy-Export) . these…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 questions
asked 2023-02-28T05:53:08.9633333+00:00
Ahmed Salah Abed Elaziz 390 Reputation points
answered 2023-03-01T02:20:33.7766667+00:00
Lan Huang-MSFT 24,461 Reputation points Microsoft Vendor
1 answer

Signing out the user sessions from all the browsers

A user has logged into the application with the same username (email address) but on different browsers (ex. Chrome, Firefox). Now, the user changes the password on browser 1 and is logged out from browser 1 after the operation. But as its session is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 questions
Azure ISV (Independent Software Vendors) and Startups
Azure ISV (Independent Software Vendors) and Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.ISV (Independent Software Vendors) and Startups: A Microsoft program that helps customers adopt Microsoft Cloud solutions and drive user adoption.
110 questions
asked 2022-09-19T09:32:51.417+00:00
Darwai, Nikhil 1 Reputation point
edited the question 2023-02-28T05:28:14.9466667+00:00
AnuragSingh-MSFT 19,266 Reputation points
1 answer

asp.net datalist image error

hello friends, I am taking data using datalist, there are pictures in each data, but not all of the pictures are in order, so the picture in the 1st data comes out, after saying next, the picture in the 2nd data comes and the picture in the 1st data…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 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,095 questions
asked 2023-02-24T08:17:59.76+00:00
kadir koçaslan 65 Reputation points
commented 2023-02-28T03:14:57.9533333+00:00
QiYou-MSFT 4,306 Reputation points Microsoft Vendor
0 answers

Error:Data source name not found and no default driver specified

Hi. I am trying to connect to IBM DB2 database from my asp.net c# web application. I have added the IBM.Data.db2.iSeries from the Manage nuget package, which in turn added the ibm.data.db2 in the reference. I added the connection string in web.config as…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 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,095 questions
asked 2023-02-27T07:00:20.5166667+00:00
Padmanabhan, Venkatesh 120 Reputation points
commented 2023-02-28T02:23:31.4966667+00:00
XuDong Peng-MSFT 9,756 Reputation points Microsoft Vendor
0 answers

Property / Field Types - string v nvachar

Premise Is the correct way to create properties (fields) to hold text in .net, to designate as "string" property types in the model which, when migrated and database created, are created by default as nvachar(max)? When I am creating a property…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,076 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 questions
asked 2023-02-27T15:05:38.3333333+00:00
Dean Everhart 1,491 Reputation points
commented 2023-02-27T15:19:35.05+00:00
AgaveJoe 25,866 Reputation points
0 answers

fixing cannot get required symbol SSL_set_alpn_protos from libssl

ASP .NET 7.0.103 MVC application is deployed to Debian Linux 8.11 (jessie). Kestrel server with Apache proxy is used. Publish settings in latest Visual Studio are: Trying to run it in Linux throws error Cannot get required symbol…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,262 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,076 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 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,511 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,109 questions
asked 2023-02-25T11:26:43.8933333+00:00
Andrus 121 Reputation points
commented 2023-02-27T10:51:06.0333333+00:00
Andrus 121 Reputation points
0 answers

Enrollnumber value is not passing from view to controller

I am fetching record Enrollnumber from database ,using below class public class RecordID { SqlConnection con = new SqlConnection("***"); public List<EmpMasterMV> GeneateEmpID() { List<EmpMasterMV> item = new…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 questions
asked 2023-02-24T06:57:37.6266667+00:00
Analyst_SQL 3,531 Reputation points
commented 2023-02-27T10:06:49.99+00:00
Lan Huang-MSFT 24,461 Reputation points Microsoft Vendor
1 answer

Register handler for asmx in class library

I created in my classlibrary a handler class with webservice interface. Now I would like to always register it in the classlibrary (not in the web.config) so that I can call it according to a specific url. For example: /mywebservice.asmx. ideas?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 questions
asked 2023-02-23T14:55:31.8633333+00:00
Salvatore Rizzo 21 Reputation points
commented 2023-02-27T08:33:44.07+00:00
Lan Huang-MSFT 24,461 Reputation points Microsoft Vendor
2 answers

How to get id value when try to loop within repeater control?

I working on asp.net web forms. I can't get value of id inside repeater control. i need to get id when loop within repeater control string Id = gvr.Items[5].ToString(); what I do within code is : 1- click on print button to update status column on…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 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,095 questions
asked 2023-02-24T18:56:46.0133333+00:00
Ahmed Salah Abed Elaziz 390 Reputation points
commented 2023-02-27T08:17:35.91+00:00
Lan Huang-MSFT 24,461 Reputation points Microsoft Vendor
0 answers

when use update panel jquery datatable not working so how to solve issue ?

I working on asp.net web forms . I face issue jQuery data table example not working after press search button for display data on data table. I try to search for reason I found that update panel is problem . IF I remove update panel every thing will…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 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,095 questions
asked 2023-02-26T01:11:40.55+00:00
Ahmed Salah Abed Elaziz 390 Reputation points
commented 2023-02-27T07:57:28.46+00:00
Lan Huang-MSFT 24,461 Reputation points Microsoft Vendor
2 answers

claim or role based access

I have a section of the site that is restricted to our younger members and sections that are restricted to adult members only. The adult members are NOT allowed to go onto the youth section unless also a parent or supervisor. Parents and adult…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 questions
asked 2023-02-15T20:31:54.2433333+00:00
M J 661 Reputation points
commented 2023-02-27T05:32:04.2266667+00:00
M J 661 Reputation points