Content
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…


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


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…


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


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…


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 <div class="vh-100 d-flex flex-column"> <div class="hstack p-2 gap-2…


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…


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…


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…


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 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" …


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…


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:…


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


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…


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 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…
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? …


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…


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…