i get error Document was closed when try to display page number on pdf ?
I try to display page number at the the bottom of every page when export to pdf but i get error as below I get error iText.Kernel.Exceptions.PdfException: 'Document was closed. It is impossible to execute action.' on line int pageCount =…
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
Gridview Column Total
Hello This Is My Aspx Page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default4.aspx.cs" Inherits="Default4" %> <html> <head runat="server"> <title>Untitled…
How to implement reset password functionality in asp.net core for an user who didn't sign in using asp.net core identity
I am working on a legacy Asp.Net Web Forms application which is nearly 18 years old. It uses a simple form based authentication where the users enter their username/password and the user is authenticated by matching the username/password saved in the…
How do create a .NET 4.8 project when my only options are Core 6 and 7?
How do create a .NET 4.8 project when my only options are Core 6 and 7? Environment: Net Core 6 MVC, Visual Studio Community 2022 (64 bit), WIndows 11 If you want to improve, be content to be thought foolish and stupid... ― Epictetus Sometimes the…
Merge Gridview Row Based If Field2 Empty
Hello This is my aspx page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default4.aspx.cs" Inherits="Default4" %> <html> <head runat="server"> <title>Untitled…
How To Get Sub Total And Grand Total
This Is My Aspx Page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default3" %> <html> <head runat="server"> <script…
Can VB.NET / ASP.NET MVC call the charp enterpriceservice.component COM+ component of .NET 4.6.1 through progid?
Can VB.NET / ASP.NET MVC call the charp enterpriceservice.component COM+ component of .NET 4.6.1 through progid? Currently, when calling the enterpriceservice.component component, there are conflicts between System._comobject and…
Using C# Code Convert To Zero If DBNULL
Hello I get this error how to convert zero in c# code behind Thanks
Could not load file or assembly Microsoft.Owin, Version=3.0.1.0
I read similar posts at this forum but my situation is unique. The error suddenly appeared after a successful deployment to Azure web app. The .Net framework is 4.7.2. There was no code change. The local run has no issue. Previous deployments were…
.NET 6.0 framwork SSRS Report Viewer.
Hi Team, I am using .Net 6.0 farmwork with MVC. Not able to bind Report viewer in razor pages. .Net 6.0 not supporting old packages and web forms. How to bind SSRS rdl in .Net 6.0 MVC framework. Kindly provide a solution with an example source…
ajax post always sends null parameter to my controller
HTML: @{ ViewBag.Title = "exrcise3_usingJqueryPost"; } <h2>Personal Information</h2> Enter first name: <input type="text" id="fname" /> <br /> Enter last name: <input type="text"…
Merge Repeater Row If Field2 Is Empty
Hello This is my aspx page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default4.aspx.cs" Inherits="Default4" %> <html> <head runat="server"> <title>Untitled…
How to send multipart/mime SOAP request from ASP.NET MVC controller
SOAP server requires multipart SOAP request with XML file like Content-type: multipart/related;boundary="MIME_boundary";type="text/xml"; start="<soapPart>" --MIME_boundary Content-Type:…
Server Error in '/' Application Web.config
HI I need this problem solution. If anybody have this solution then pls reply to it. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the…
@Scripts.Render("~/bundles/bootstrap") fails
VS 2019 Created an MVC APP Updated all the outdated NuGet packages. Now in my layout page: @Scripts.Render("~/bundles/bootstrap") ...gives... System.NullReferenceException HResult=0x80004003 Message=Object reference not set to an…
Swagger will not generate swagger.json file although the AddSwaggerGen method is present in my Programs.cs file and it prevents me from publishing to Azure App Services
I have noticed this is a big issue for many and it is stopping me from getting deployed to Azure. I have two APIs and a website and I am building a PaaS integration. This issue is keeping me from getting my applications migrated and my APIs will not…
asp.net web page missing top and left properties
by Designing a web page in the "View Markup" is it posible to set the top and left <asp:Panel ID="Panel7" runat="server" BackColor="Transparent" Height="858px" Width="2186px"…
I can't find ASP.NET Web Application (.NET Framework) with c#
Hello I want to use ASP.NET Web Application (.NET Framework), and I have downloaded Visual Studio Community 2019 v16.11.3, and i have clicked the ASP.NET and web devleopment before i download it but I can't find the one i needed, I don't want the…
How to add accessible name ( aria-label ) in @DropDownListFor in razor?
I have filter dropdown and trying to add comply with 508 compliance. I used aria_label, aria-label and aria_labelledby but unable to see accessible name for the DropDownListFor. I see No ARIA attributes under ARIA Attributes on Chrome Browse tool. How…