ASP.NET page does not hold ViewState
VS 2019, C# 4.8 ASP.NET Webforms, Master/Detail pages: I have a sample app with: • 1 button, • 2 textboxes • “a” tag with an “href” link. • asp:HiddenField Everything is “runat=server” I can persist data in the hiddenfield…
ASP.NET Webforms: Dynamically add asp button to page but is not visible
From an asp button click event I’m adding innerhtml to a div tag. This inner html in an asp button, however, after adding it, its not visible even though when I inspect the page it is there. and this is the div tag I'm adding it to: …
Azure Notification Hub where to specify connection info?
Hi, I am following the tutorial in the link below to send push notifications from my WebAPI - they are saying to specify the Notification Hub Name and the Connection string using dotnet user-secrets Is there anyway i can just set these in the…
Caching Token in SOAP-based Web Service
I developed a SOAP-based web service for internal consumption. It takes a SOAP-based web request and converts it to a JSON-based external, third-party RESTful web API request. It then takes the JSON-based external, third-party RESTful web API response…
![](https://techprofile.blob.core.windows.net/images/t7GFq0Uwb0Syds_CHPx8dw.png?8D8DF1)
Add secondary yaxis in web.helpers.chart
Hi, Is there a way to add secondary yaxis in Chart class of system.web.helper.chart? My current code: string temp = @"<Chart> <ChartAreas> <ChartArea Name=""Default"" Template=""All"">…
Blazor Server - Custom Authentication
Hello together, an old winforms application should be re-designed / migrated as web application, here comes Blazor Server in. In the winforms application each user have to authenticate at startup against an oracle database, the application tries to…
![](https://techprofile.blob.core.windows.net/images/gqKZQXYNIEOck1SWo0V4JQ.png?8D8A26)
C# MVC Create new site fails when adding Controller
VS 2019 Pro Updated today. Win 10 Created a new C# MVC site. .NET Framework 4.8 Added User Authentication using a SQL server database. Site creates, compiles no errors Went to Models -> Add New Item -> ADO.NET Entity Model -> code…
What version of the Visual Studio and SQL Server can I legally use?
I am a beginner individual developer. I want to create a web application and publish it on the internet. Which version of Visual Studio and SQL Server can I legally use?
Problems with VS2019 ASP.NET web site project and href links
Hi, I have a problem with the url used in the href attribute for my style sheets. The website should run under a directory I will call /MyWebSite. I have added the virtual directory to my applicationhost.config so that it look like this: See…
How to take some Chinese from string?
VB code How to get the Chinese from "Office办公室" this string ? mystr is variables. Sample: mystr="Office办公室" I want me.Txt_Dept.Text="办公室" Thank you.
Dynamic labels in view that display information queried from another model
Hi, I am trying to make my view to include labels that update themselves when other input fields on the page have been updated. EF6 is used for mapping. When the name and date fields of the page have been updated, I want a label to display data from…
Asp.net: Get ID of checked CheckBoxes in a ListView
Asp.net, Webforms, c# 4.8: I have a page with a ListView control that contains checkboxes. In the postback, I need to loop through the list and get the IDs of all the checkboxes that were checked, but I dont know how to assign the ID to the checkboxes…
Cannot logout from OWIN external identity provider via PKCE
I have been unable to logout from an OWIN external identity provider. Either the user is not completely logged out or the website goes into an infinite loop of redirects. I am changing an existing asp.net MVC 4 website. I am not using Azure active…
How to make delayed helper render?
We have a lot of small JS script or HTML utilities inside thousands of small-big (Razor) helpers, that we are using in the rather complex web application. One view can be in first situation loaded as Html.Partial from other site, but also can be recall…
asp.net autopostback issue while dynamic elements loading.
We are working on ASP.NET Web Application, We are creating Dynamic Web Pages that dynamically load Controls according to database values. We are getting a postback issue for dynamic Controls values after the Control Event fires. For Example: While…
OWIN middleware not working after upgrading app to Windows Server 2016
Hi, We have written a custom (public) Shopify app to be deployed to the Shopify stores by the store owners. The app is using Microsoft.Owin.Security Nuget package version 3.0.1. The app was working on Windows Server 2008 and Windows 10. But its raising…
Removing Azure AD authentication from ASP.Net MVC web application
A few months ago I created a small web application in ASP.NET MVC, I got it to work with Azure AD Authentication, and users were able to login with their Office 365 credentials. Now I need to strip the application of the Azure part and have it run…
Programmtically setting AppId and redirection url for AAD in Augular 8
I have created a single-page using .net core web application with the Angular Template. This application requires AAD authentication. Hence I have integrated MSAL and Microsoft Graph API. The auth setting requires AppId, Redirection Url, and Scopes. When…
Update a textbox/label clientside while in a loop using javascript.
I am running a process that iterates through a loop in c#/aspx. I need to give an update on the clientside to a textbox/label of where my loop progress currently stands. I have tried update panel and can't get this to work. In windows forms this is very…
listview Checkbox click in a Row asp.net forms
Hi I have a listview we have 3 checkbox and total label in the each row <asp:ListView ID="ComboMain" runat="server" GroupItemCount="1"> <LayoutTemplate> <asp:PlaceHolder runat="server"…