3,417 questions with ASP.NET tags

Sort by: Updated
1 answer

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
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2021-03-27T01:57:14.087+00:00
moondaddy 911 Reputation points
answered 2021-03-29T07:59:45.797+00:00
Yijing Sun-MSFT 7,071 Reputation points
1 answer

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

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2021-03-27T04:49:14.497+00:00
moondaddy 911 Reputation points
answered 2021-03-29T03:02:10.293+00:00
XuDong Peng-MSFT 10,341 Reputation points Microsoft Vendor
0 answers

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…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
300 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2021-03-20T21:38:53.603+00:00
SSB 111 Reputation points
commented 2021-03-28T18:02:29.813+00:00
ajkuma 24,971 Reputation points Microsoft Employee
1 answer

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,644 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 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.
10,643 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
318 questions
asked 2021-02-25T05:05:00.987+00:00
Julio Bello 221 Reputation points
answered 2021-03-26T14:29:10.253+00:00
Pranam K 6 Reputation points
1 answer

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

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2021-03-25T07:24:45.347+00:00
Jeswani, Hitesh (Navi Mumbai) 1 Reputation point
answered 2021-03-26T06:34:47.333+00:00
Yihui Sun-MSFT 801 Reputation points
1 answer

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…

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,500 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2021-03-22T09:06:10.267+00:00
someone 1 Reputation point
answered 2021-03-24T08:40:22.51+00:00
Michael Wang-MSFT 1,061 Reputation points
1 answer

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2021-03-22T07:20:47.663+00:00
Bryan Valencia 1 Reputation point
answered 2021-03-23T03:27:52.293+00:00
Yihui Sun-MSFT 801 Reputation points
2 answers One of the answers was accepted by the question author.

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?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,666 questions
asked 2021-03-21T17:01:05.277+00:00
Kit 21 Reputation points
commented 2021-03-22T06:03:00.647+00:00
Kit 21 Reputation points
0 answers

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 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,887 questions
asked 2021-03-19T10:25:00.433+00:00
Tracy Schreiber 1 Reputation point
commented 2021-03-22T03:18:38.653+00:00
XuDong Peng-MSFT 10,341 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

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.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,666 questions
asked 2021-03-19T08:22:38.483+00:00
Kerry Ou 226 Reputation points
commented 2021-03-19T09:12:11.85+00:00
Kerry Ou 226 Reputation points
1 answer One of the answers was accepted by the question author.

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 Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2021-03-18T06:03:13.673+00:00
ng Jimmy 21 Reputation points
accepted 2021-03-19T02:06:27.75+00:00
ng Jimmy 21 Reputation points
2 answers

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 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.
10,643 questions
asked 2021-03-14T19:43:45.027+00:00
moondaddy 911 Reputation points
commented 2021-03-16T06:42:35.76+00:00
Yijing Sun-MSFT 7,071 Reputation points
0 answers

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2021-03-15T12:34:56.577+00:00
Ed Brinkman 121 Reputation points
1 answer

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
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 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.
10,643 questions
asked 2021-03-13T16:10:36.007+00:00
RickettsialPox 1 Reputation point
commented 2021-03-15T08:32:48.897+00:00
RickettsialPox 1 Reputation point
0 answers

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2021-03-10T06:24:15.117+00:00
Vikram Nimkar 6 Reputation points
commented 2021-03-15T05:37:03.447+00:00
XuDong Peng-MSFT 10,341 Reputation points Microsoft Vendor
0 answers

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,141 questions
asked 2021-03-11T21:12:37.023+00:00
talal shoaib 1 Reputation point
0 answers

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,617 questions
asked 2021-03-07T00:44:40.017+00:00
Luis Guzman 1 Reputation point
commented 2021-03-08T02:47:14.367+00:00
Yihui Sun-MSFT 801 Reputation points
2 answers

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,617 questions
asked 2021-02-27T00:41:06.19+00:00
Suresh Mathan (MINDTREE LIMITED) 1 Reputation point Microsoft Vendor
answered 2021-03-04T22:58:04.657+00:00
Suresh Mathan (MINDTREE LIMITED) 1 Reputation point Microsoft Vendor
1 answer

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2021-02-19T17:01:35.007+00:00
LeClair, Michael L. (Rumford) 21 Reputation points
commented 2021-03-03T08:51:01.41+00:00
Sean Fang-MSFT 156 Reputation points
2 answers

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

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2021-02-10T05:24:14.833+00:00
Abdul Baba Syed 21 Reputation points
commented 2021-03-02T12:59:56.537+00:00
Sean Fang-MSFT 156 Reputation points