3,180 questions with ASP.NET tags

Sort by: Updated
3 answers

Is it possible to prevent a Javascript function from executing in C# if record exista in DB?

Hello community, please I will like to ask if it possible that a Javascript function is prevented from executing from code behind (C#), if a record exists in a database? The reason why I haven't posted any code is that I want to first find out if it is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,178 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,180 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.
9,958 questions
asked 2024-02-27T05:26:56.4+00:00
Donald Symmons 2,746 Reputation points
answered 2024-02-28T07:35:32.5833333+00:00
Lan Huang-MSFT 23,221 Reputation points Microsoft Vendor
2 answers

Is there any tag/code/script to launch the application in Edge browser which works in only IE

Hi All, I am working on a legacy asp.net application, the UI of the application is implemented using Component Art. This application works in only Internet Explorer with compatibility mode. Now we are able to launch this application on Edge browser by…

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,037 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,180 questions
asked 2024-02-27T15:16:55.6166667+00:00
Bharathi 46 Reputation points
commented 2024-02-28T03:50:31.9+00:00
ShiJieLi-MSFT 6,431 Reputation points Microsoft Vendor
1 answer

CS5001 Program does not contain a static 'Main' method suitable for an entry point

I developed ASP.NET website for five years. Recently I upgraded to VS2022 recent release, then R-Click on the project name in Solution Explorer I ran "Analyze and Code Cleanup". Now, I get a build error "CS5001: Program does not contain a…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,180 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,418 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
912 questions
asked 2024-02-27T11:49:12.7533333+00:00
Noorann Tech 0 Reputation points
edited the question 2024-02-28T01:22:54.66+00:00
Lan Huang-MSFT 23,221 Reputation points Microsoft Vendor
0 answers

.NET Blazor Routing

Hello, I have a razor page named Contact.razor. I want to localize it so when you select one of the 3 languages, the route changes accordingly. Meaning, I don't want to only change the culture but also the route. For example, by default it is /en/contact…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,018 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,320 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,180 questions
asked 2024-02-27T22:25:09.26+00:00
Kuler Master 221 Reputation points
edited a comment 2024-02-27T22:36:20.9366667+00:00
AgaveJoe 25,761 Reputation points
0 answers

How to add title for div class container instead of using h3 tag ?

I work on asp.net razor page i face issue i can't add title for div class container and title must be with top border  exactly as field set and legend  so how to apply title to be part from top border using html and css and jquery  <table…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,018 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,180 questions
asked 2024-02-27T22:34:15.96+00:00
ahmed salah 3,216 Reputation points
1 answer

Why is the blazor css isolation not working?

I have an AppLogin.razor component and its css file is AppLogin.razor.css. They are working fine. I have a UserLogin.razor component and its css file is UserLogin.razor.css. The working mechanism is as follows When you login from the AppLogin.razor…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,178 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,018 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,320 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,180 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.
9,958 questions
asked 2024-02-25T21:05:38.5766667+00:00
Haneen Al-fakhry 0 Reputation points
commented 2024-02-27T16:44:22.98+00:00
Bruce (SqlWork.com) 52,586 Reputation points
4 answers

SAML Toolkit for C# and ASP.NET

Is there any SAML Toolkit for C# and ASP.NET? I want to integrate SAML 2.0 into my existing ASP.NET application. I have done the research for plugins/toolkits for. NET. I haven't found any from Microsoft. Please help me on this.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,180 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.
9,958 questions
asked 2023-01-30T13:25:03.8966667+00:00
Sai Kiran Naidu 5 Reputation points
commented 2024-02-27T12:54:14.36+00:00
Ilya 0 Reputation points
1 answer

FIX REPATER HEADER WHILE SCROLLING AND EXPORT TO EXCEL

Hello This is my aspx page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default3" %> <html> <head runat="server"> <script…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,180 questions
asked 2024-02-26T11:09:28.23+00:00
RAVI 556 Reputation points
commented 2024-02-27T08:40:54.9433333+00:00
Lan Huang-MSFT 23,221 Reputation points Microsoft Vendor
1 answer

How to concatenate string in password.aspx file ?

Hi, For my domain i want to concatenate automaticaly *DOMAIN* + username in password.aspx file : Because many of my users dont write DOMAIN\ and its very boring ! ive already add a value like value="DOMAIN" in the input form but when i put a…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,180 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,142 questions
asked 2024-02-22T14:56:28.91+00:00
Thg 0 Reputation points
answered 2024-02-27T07:57:58+00:00
Thg 0 Reputation points
3 answers

How to implement Single Sign On in ASP.Net MVC application

We have developed 2 application in ASP.Net MVC, We have used ASP.Net Identity in both application for user authentication. Both application uses the same database. Also both apps are hosted on Azure Portal. We would like to implement SSO in both…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
578 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,180 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,667 questions
asked 2022-06-29T08:41:10.38+00:00
Kiran Shah 1 Reputation point
answered 2024-02-27T06:35:17.2466667+00:00
ROLI JAIWAR 0 Reputation points
1 answer

How to resolve error (4455,5) on Microsoft.Web.Publishing.targets

I want to publish my code to the Server, i am facing this error. "C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VisualStudio\v17.0\Web\Microsoft.Web.Publishing.targets(4455,5): 錯誤 ERROR_FAILED_TO_DESERIALIZE: Web…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,180 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,418 questions
Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
797 questions
asked 2024-01-31T04:31:40.19+00:00
阿法貝塔 0 Reputation points
edited a comment 2024-02-27T03:25:11.5166667+00:00
Lan Huang-MSFT 23,221 Reputation points Microsoft Vendor
1 answer

Active X Error

We have a Web application that can generate Excel file. We trigger creating the Excel in the front-end and the services will take care of the Excel creation in the background. Sometimes, we encountered error related to Active X. And sometimes, we…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,178 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,180 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,285 questions
asked 2024-02-26T01:40:02.1+00:00
Louie 21 Reputation points
answered 2024-02-26T23:13:21.6833333+00:00
Bruce (SqlWork.com) 52,586 Reputation points
1 answer

How to pass selected class ids and selected text to post generate button ?

I work on asp.net core razor page . i face issue i can't pass selected ids and selected text from checkboxes from action  so how to pass classIds from action OnGetSubAccountClassName to action post OnPostGenerateCount using hidden field when change event…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,018 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,180 questions
asked 2024-02-25T21:06:10.4733333+00:00
Ahmed Salah Abed Elaziz 390 Reputation points
commented 2024-02-26T21:23:20.5733333+00:00
AgaveJoe 25,761 Reputation points
1 answer

Trying to understand ASP.NET 4.8 useability with visual studio 2022

Hello, I am a hobbyist who is still using visual web developer 2008 to create .aspx forms for my simple websites. My backend language of choice is VB. I realize that this approach is old school, but has been working for me. I am better with HTML, CSS,…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,180 questions
asked 2024-02-26T18:29:12.9766667+00:00
jeff from Baltimore 0 Reputation points
answered 2024-02-26T19:45:10.04+00:00
Albert Kallal 4,486 Reputation points
2 answers One of the answers was accepted by the question author.

How to Download Multiple Files using the Response Class

I have a classic ASP.Net app that downloads a file using the Response class: Response.Clear(); Response.ClearHeaders(); Response.ClearContent(); Response.AddHeader("Content-Disposition",…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,178 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,180 questions
asked 2024-02-24T03:50:39.54+00:00
Coreysan 1,586 Reputation points
commented 2024-02-26T17:09:19.45+00:00
Coreysan 1,586 Reputation points
1 answer One of the answers was accepted by the question author.

multi filter to apply only two columns Field1 and Field2

Hello This is my code <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script> <link…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,180 questions
asked 2024-02-16T11:50:48.8733333+00:00
RAVI 556 Reputation points
accepted 2024-02-26T10:56:34.4866667+00:00
RAVI 556 Reputation points
1 answer One of the answers was accepted by the question author.

AJAX combo box not searching specific letters in the word (data) in asp.net C#

I am using AJAX dropdown controls for dual purpose (Search and select). I have been facing some issue in that controls. When i search the particular "letter", it wil not be filtered data in the combo box. What is the problem and how to solve…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,180 questions
asked 2024-02-23T08:11:42.64+00:00
Gani_tpt 1,446 Reputation points
commented 2024-02-26T10:56:23.96+00:00
Gani_tpt 1,446 Reputation points
3 answers

How to implement SAML in asp.net , c#

Hello, I want SAML 2.0 implementation in asp.net application, Is there anyway I can do it natively in .net framework 4.5 without using any third party component. Any code snippets or link to any article ? Thank you maxmax

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,180 questions
asked 2023-08-16T20:42:38.49+00:00
maxmax 0 Reputation points
commented 2024-02-26T10:23:00.3033333+00:00
Marshall Penn 0 Reputation points
3 answers One of the answers was accepted by the question author.

PMC EF commands error: Unrecognized command or argument 'C#'

In Visual Studio's Package Manager Console (V 6.6.0.61), the command get-migrations, and other Entity Framework commands, output: Specify --help for a list of available options and commands. Unrecognized command or argument 'C#' I have successfully run…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,178 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,180 questions
asked 2023-08-16T14:19:06.76+00:00
Nnr 30 Reputation points
commented 2024-02-26T06:59:40.1233333+00:00
Erno Soinila 0 Reputation points
0 answers

Getting error while doing encryption of Chinese special character using AESCryptoService

Getting error while doing encryption of Chinese special character using AESCryptoService

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,018 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,180 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.
9,958 questions
asked 2024-02-23T12:00:39.6433333+00:00
nikhil parate 0 Reputation points
edited the question 2024-02-26T05:48:11.56+00:00
Anand Prakash Yadav 3,230 Reputation points Microsoft Vendor