Microsoft Q&A

ASP.NET Web Forms

391 questions

A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.

Browse all .NET tags

391 questions with ASP.NET Web Forms tags

Sort by: Updated
3 answers One of the answers was accepted by the question author.

Login cannot redirect to another page

I recently tried to use authentication and authorization on my login, but when I click to login nothing happens; it does not redirect here is my code Login.aspx.cs private bool ValidateUser(string email, string pass) { SqlConnection…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
391 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.
6,923 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
asked 2023-01-13T16:06:10.11+00:00
Donald Symmons 941 Reputation points
accepted 2023-01-19T08:06:28.23+00:00
Donald Symmons 941 Reputation points
1 answer One of the answers was accepted by the question author.

Successful after the button

I want to see the text Alert (Successful) after the button is clicked. How should I do ?

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
391 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 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.
8,474 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
582 questions
asked 2023-01-19T05:44:16.66+00:00
Harun Ergün 65 Reputation points
accepted 2023-01-19T07:34:51.72+00:00
Harun Ergün 65 Reputation points
1 answer

how to display another page in modal and then post to that page?

I have user list page and create user page index.cshtml(user list) create.cshtml(create user) and I want to display create page in index.cshtml in modal. <div class="modal modal-lg"> <div…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
391 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,531 questions
asked 2023-01-18T09:14:42.93+00:00
打玻璃 1,446 Reputation points
commented 2023-01-19T07:04:25.2433333+00:00
Xinran Shen - MSFT 806 Reputation points Microsoft Employee
0 answers

msdeploy command renames file name if it has "Æ" nordic character into unrecognized charaters

While doing the deployment using msdeploy command renames file name if it has "Æ" nordic character into unrecognized charaters

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
391 questions
Internet Information Services
asked 2023-01-18T10:39:03.77+00:00
Sumeet Gill 0 Reputation points
commented 2023-01-19T06:54:21.95+00:00
XuDong Peng-MSFT 4,571 Reputation points Microsoft Employee
6 answers One of the answers was accepted by the question author.

datetime? passing null in SQL when not entered

HomeController.cs AnketForm.cs Index.cshtml SQL Server Opened Form The user may or may not enter a Date. The program runs when the user enters the date. But when it doesn't I get an error. How can I leave the date field blank? So if the user…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
391 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
582 questions
asked 2023-01-18T08:58:00.6233333+00:00
Harun Ergün 65 Reputation points
accepted 2023-01-19T05:15:51.7+00:00
Harun Ergün 65 Reputation points
1 answer

Aligning word container

How do I align word container in order to hide the gray area as seen in the image below? Here is the Markup &lt;div class=&#34;vh-100 d-flex flex-column&#34;&gt; &lt;div class=&#34;hstack p-2 gap-2…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
391 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
asked 2022-12-30T11:34:14.417+00:00
Donald Symmons 941 Reputation points
commented 2023-01-18T07:50:59.4566667+00:00
Donald Symmons 941 Reputation points
2 answers One of the answers was accepted by the question author.

Overlay cards on each other

Hello forum, Please how can a situation where I have about 4 cards that overlay each other on a webpage, just as shown in the image below? When the cursor hovers on any card, the card will be brought forward and other cards go behind. Here is what I…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
391 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
asked 2023-01-15T10:26:09.24+00:00
Donald Symmons 941 Reputation points
accepted 2023-01-18T07:48:07.62+00:00
Donald Symmons 941 Reputation points
0 answers

How to setup regional Vnet integration between new ASP.NET 4.8 Azure Service V3 and Azure SQL Managed Instance?

I just created a simple ASP.NET Web Forms app to Azure Service - Premium V3 plan. This app runs fine as long it does not access our database in SQL Managed Instance (MI). When trying to access the database (a simple SQL SELECT statement in the…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
391 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
Azure SQL Database
Azure App Service Static Web Apps
asked 2023-01-17T16:04:18.37+00:00
Jan J. Vopalensky 0 Reputation points
edited the question 2023-01-17T16:31:58.2033333+00:00
Jan J. Vopalensky 0 Reputation points
1 answer

Display Gridview with Marathi Data in PDF File using asp.net c#

Hi I am creating 1 application in which I am populating Data in Marathi language in Gridview. I want to create PDF of this Gridview. I am using iTextSharp to create PDF but it is not showing Marathi Data on that File. PFB code for PDF : - using…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
391 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.
6,923 questions
asked 2022-12-26T06:40:18.427+00:00
Mohit Joshi 1 Reputation point
commented 2023-01-17T13:57:05.57+00:00
Mohit Joshi 1 Reputation point
1 answer One of the answers was accepted by the question author.

How to use authentication on a custom login.aspx webform

Please forum, I know I asked lots of questions about this issue, but I need you guys to help me out with my own code here. Recently, I read about authenticating users based on their roles. The webforms used were default webforms with its controls, but I…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
391 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.
6,923 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
asked 2023-01-11T16:52:20.1933333+00:00
Donald Symmons 941 Reputation points
accepted 2023-01-17T06:16:28.49+00:00
Donald Symmons 941 Reputation points
0 answers

ASP net future idea VB net

Hi there microsoft its possible on the next generation of ASP net use this idea for use as language exchange here is my idea OLD <%@ Page Language="VB" AutoEventWireup="false" …

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,827 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
391 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.
6,923 questions
asked 2023-01-17T00:30:46.8133333+00:00
Ricardo Sousa 66 Reputation points
commented 2023-01-17T02:10:13.2433333+00:00
Lan Huang-MSFT 8,876 Reputation points Microsoft Employee
0 answers

Cards Overlay effect in asp.net web page

Hello, Please how can create two situations where 3 or 4 cards overlay each other just as shown in the below images ? In the first image the cards overlay each other horizontally. While in the second image the cards overlay each other vertically. Then…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
391 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
asked 2023-01-15T10:14:04.3066667+00:00
Donald Symmons 941 Reputation points
edited the question 2023-01-16T02:25:06.85+00:00
Tianyu Sun-MSFT 12,846 Reputation points Microsoft Employee
0 answers

AspNet Precompilation failure !

We started getting compilation failure which precompiling our webrole files. Is there anyway to debug this issue. We see there was similar question asked in past without any resolution:…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
391 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
Microsoft Build
Microsoft Build
A Microsoft platform for building applications with Visual Studio and .NET on Windows.
367 questions
asked 2023-01-12T23:40:50.1666667+00:00
Kapil Dole 0 Reputation points
edited the question 2023-01-13T07:22:25.6266667+00:00
VenkateshDodda-MSFT 6,181 Reputation points Microsoft Employee
1 answer

microsoft expression error

My editor worked fine, then this came up when trying to preview and I have no idea how to fix. I edit another website on the same laptop and that works just fine

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
391 questions
Bing Web Search
Bing Web Search
A Bing service that gives you enhanced search details from billions of web documents.
78 questions
asked 2023-01-11T17:26:47.0766667+00:00
Colleen Kuhlman 0 Reputation points
commented 2023-01-12T05:53:36.2566667+00:00
Lan Huang-MSFT 8,876 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Error with migrating from website to web application: Could not load type ‘quirver_Application.Default’

I will try an debug this issue I am facing but I thought I should ask first if there be any help It seems like there is a difference between web application and a website. A few hours I decided to try out something; created a new web application and…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
391 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 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.
6,923 questions
asked 2023-01-09T07:59:53.517+00:00
Donald Symmons 941 Reputation points
accepted 2023-01-10T08:04:23.457+00:00
Donald Symmons 941 Reputation points
1 answer

Only One Row is getting inserted into the database instead of multiple rows in Repeater control. Any ideas?

Greetings again, I hope you can assist me one more time. I am using Repeater control to dynamically add rows to the table using DropDownList. The DropDownList has only 3 values. A user selects value="1", one row is created. A…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
391 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.
6,923 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,827 questions
asked 2023-01-05T15:19:04.283+00:00
Simflex 81 Reputation points
commented 2023-01-05T15:52:40.287+00:00
Simflex 81 Reputation points
3 answers

ASP.Net WebForms-MSAL.Net integration Default Document

I've switched a Webforms app from Forms Authentication to Azure AD B2C using MSAL.NET. That works fine but I'm having trouble getting it to serve a Default Document. In Forms Authentication the config has a setting for the login page and a setting…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
391 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,583 questions
asked 2022-11-15T17:24:59.14+00:00
M34 1 Reputation point
commented 2023-01-04T12:08:29.94+00:00
M34 1 Reputation point
2 answers

Are their updates to this article?

I am trying DESPERATELY to do this example project, but the information is all related to Visual Studio 2013. Are there any updates to create it in Visual Studio 2022? …

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
391 questions
asked 2022-12-31T04:26:08.15+00:00
maureen flannery 1 Reputation point
answered 2023-01-02T19:08:35.277+00:00
Albert Kallal 3,446 Reputation points
3 answers One of the answers was accepted by the question author.

NullReference exception in CompilerServices.Symbols.Container.InvokeMethod

In an Asp.Net Web forms application I get regularly following exception trace: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. bei…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
391 questions
asked 2022-12-22T16:32:40.247+00:00
Wojciech Rajchel 21 Reputation points
accepted 2022-12-30T08:18:34.51+00:00
Wojciech Rajchel 21 Reputation points
1 answer One of the answers was accepted by the question author.

Display Year in aspx web page from a textbox date

I have 2 textboxes in aspx+vb+sql website 1st is datetxt.text and 2nd is yeartxt.text in the date texttxt.text i have date captured from my sql table like this 12/24/2022 the date is (24th Dec 2022) now i want to display year of the date…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
391 questions
asked 2022-12-29T11:33:45.103+00:00
Baiju EP 121 Reputation points
accepted 2022-12-30T05:39:58.517+00:00
Baiju EP 121 Reputation points