Microsoft Q&A

ASP.NET Web Forms

466 questions

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

Browse all .NET tags

395 questions with ASP.NET Web Forms tags

Sort by: Updated
1 answer

How can word file displayed in a div container be printed in a pdf format?

I am trying to have a single page that will can be used to display either a word (.doc/.docx) or a PDF file. Instead of having two pages, each for word and pdf files. It’s a success but printing either of these formats in PDF is where I have…

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.
466 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.
7,606 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
900 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,331 questions
asked 2023-03-28T10:44:36.1866667+00:00
Donald Symmons 1,286 Reputation points
answered 2023-03-30T09:21:08.68+00:00
QiYou-MSFT 1,556 Reputation points Microsoft Vendor
9 answers

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…

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.
466 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,331 questions
asked 2021-10-01T00:33:18.083+00:00
WEI HAN TAN 16 Reputation points
edited a comment 2023-03-30T08:57:00.76+00:00
Atif Iqbal 0 Reputation points
1 answer

How do I toggle between Portrait and Landscape card using custom toggle button

Hello forum, I recently created a toggle button to help toggle between landscape and portrait mode of bootstrap card, before user can print. Please how can I make the toggle button I created to change the orientation of the card? I have no idea how to 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.
466 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
900 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,331 questions
asked 2023-03-30T01:25:04.3033333+00:00
Donald Symmons 1,286 Reputation points
answered 2023-03-30T08:46:16.1533333+00:00
Lan Huang-MSFT 11,901 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Printing a div card with exact styles as it appears on the web page

On my web form, I have these div card where there are labels with values, and two image controls. The labels on the card can have their font-family and color changed by the user o the client side to the desire of the user, using controls provided to 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.
466 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
900 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,331 questions
asked 2023-03-25T13:15:41.9733333+00:00
Donald Symmons 1,286 Reputation points
accepted 2023-03-29T16:39:07.1833333+00:00
Donald Symmons 1,286 Reputation points
2 answers

Any sample .net websites with authentication & authorization?

I would like to create a web portal with the following features. Authentication & authorization Connect to sql database Pages are base on their roles where i can have the versatility to set A decent master page Create, Read, Update and delete…

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.
466 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
900 questions
asked 2023-03-24T12:31:57.87+00:00
Joh 1 Reputation point
commented 2023-03-29T02:58:39.0733333+00:00
Lan Huang-MSFT 11,901 Reputation points Microsoft Vendor
11 answers One of the answers was accepted by the question author.

How to convert xml to style so that browser can render html from xml when using RSS

I have downloaded a app called MessageBoard and trying to configure RSS Feed to output serialised data to browser. The result display a error message with code written in xml format. This XML file does not appear to have any style information associated…

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.
466 questions
asked 2023-01-30T01:05:53.09+00:00
peter liles 411 Reputation points
answered 2023-03-28T22:28:04.0866667+00:00
4 answers

Web form issue

Hi, I get "undefined" unexpectedly to the column/field below, while there is the proper row value returned from the table. What is the reason? html += "<td >货币</td><td style='font-weight:…

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.
466 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
519 questions
asked 2023-01-20T07:49:30.2666667+00:00
Peter_1985 1,891 Reputation points
commented 2023-03-28T05:00:09.3533333+00:00
Peter_1985 1,891 Reputation points
1 answer

API for currency exchange rate

Hi, How about the way to directly retrieve currency exchange rate automatically?

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.
466 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.
170 questions
asked 2022-03-24T09:15:11.363+00:00
Peter_1985 1,891 Reputation points
commented 2023-03-28T04:29:02.97+00:00
Peter_1985 1,891 Reputation points
2 answers One of the answers was accepted by the question author.

How do you display html data tags surrounding text within a XML file

I have created a RSS Feed using xml data and converted via xslt for display in browser window. I now insert the data for display using a ajax text editor which now injects additional style tags to the data and inserts into xml file like such. <rss…

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.
466 questions
asked 2023-03-11T00:45:47.32+00:00
peter liles 411 Reputation points
commented 2023-03-27T23:01:19.32+00:00
peter liles 411 Reputation points
1 answer One of the answers was accepted by the question author.

Input control used to display and change font-family does not work with multiple javascript

I have controls that can be used to change font-family and colors of label controls. The input control is for changing font-family while the AjaxControlToolkit ColorPickerExtender is used to change labels color. At the top of my HTML page, I registered…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
519 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.
466 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
900 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,331 questions
asked 2023-03-25T13:21:23.1466667+00:00
Donald Symmons 1,286 Reputation points
accepted 2023-03-27T21:37:05.6433333+00:00
Donald Symmons 1,286 Reputation points
1 answer

Problem capturing value from cell in gridview using GridView1_RowUpdating in ASP.net(VB). Getting error below.

Line 73: Line 74: 'Compute Final Price Line 75: Dim ItemPrice As String = TryCast(GridView1.Rows(e.RowIndex).FindControl("Price"), TextBox).Text.ToString Line 76: hfFinalPrice.Value = hfItemQuanGrid.Value *…

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.
466 questions
asked 2023-03-23T15:20:01.93+00:00
DEK 0 Reputation points
edited a comment 2023-03-24T07:13:57.24+00:00
Lan Huang-MSFT 11,901 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Printing a particular div tag with labels and images intact in their positions

I have this div tag where labels, image controls and background image are displayed. The background image is gotten from database and displayed in the div like this: protected void Page_Load(object sender, EventArgs e) { if…

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.
466 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
900 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,331 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.
7,606 questions
asked 2023-03-18T09:31:56.73+00:00
Donald Symmons 1,286 Reputation points
answered 2023-03-22T12:36:18.0933333+00:00
Donald Symmons 1,286 Reputation points
4 answers

Is it true that .aspx (WebForms) is old technology and will be absent in all future asp.net versions?

I wonder that people say that WebForms is old/legacy/outdated technology, and that everyone should create MVC/.Core projects, which have no .aspx pages. Is it true that .aspx technology (WebForms) is not developed any more? I like visual design in…

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.
466 questions
asked 2021-10-22T17:03:31.903+00:00
Ivan 1 Reputation point
commented 2023-03-18T22:38:33.34+00:00
Albert Kallal 3,451 Reputation points
1 answer One of the answers was accepted by the question author.

Using overflow style property to scroll web page contents, not working

I am trying to create a situation where I will scroll my web page with the use of an overflow property; if it overflows vertically, so I put my div tags in a parent div and set the overflow-y: scroll style property of the parent div tag but it’s not…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
900 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,331 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.
466 questions
asked 2023-03-17T02:28:18.5866667+00:00
Donald Symmons 1,286 Reputation points
accepted 2023-03-17T22:32:32.5233333+00:00
Donald Symmons 1,286 Reputation points
1 answer One of the answers was accepted by the question author.

vertically scrolling web page using overflow style property

I am trying to create a situation where I will scroll my web page with the use of an overflow property; if it overflows vertically, so I put my div tags in a parent div and set the overflow-y: scroll style property of the parent div tag but it’s not…

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.
466 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
900 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,331 questions
asked 2023-03-17T02:25:22.76+00:00
Donald Symmons 1,286 Reputation points
accepted 2023-03-17T15:15:46.06+00:00
Donald Symmons 1,286 Reputation points
1 answer

how to call a controller method from razor view text input field

how to call a controller method from razor view text input field

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.
466 questions
asked 2023-03-16T10:02:17.9766667+00:00
Padma Anantha Krishnan 0 Reputation points
answered 2023-03-17T06:57:20.8+00:00
QiYou-MSFT 1,556 Reputation points Microsoft Vendor
2 answers

UpdatePanel (ASP), I lose inserted objects when I insert new objects dynamically

I'm trying to insert one object (Panel) after another inside an UpdatePanel type object (by means of a button), this with the aim of forming an array that looks horizontal visually when the user inserts it inside the UpdatePanel. The problem I have is…

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.
466 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,331 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,979 questions
asked 2023-03-15T22:54:17.7233333+00:00
LA RC 21 Reputation points
answered 2023-03-16T07:58:25.28+00:00
QiYou-MSFT 1,556 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Asp.net require field validator stops click event

Hi, i have designed web part in SharePoint 2019, problem: as i place required field validator on text box, so it stops button click event. (asp.net button click event) as i remove require field validator, button click events works. Kindly suggest, what…

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.
466 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
1,818 questions
asked 2023-03-09T14:20:24.5666667+00:00
qasimidl 41 Reputation points
accepted 2023-03-15T12:19:31.93+00:00
qasimidl 41 Reputation points
1 answer One of the answers was accepted by the question author.

web config page access and permission not working with Global asax Routing

How do I give permission to a web page or web form for all users in web config file when routing is done in the Global asax file? This is how I grant permission to all users in the web config file for a page named topic.aspx <location…

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.
466 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
900 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,331 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
604 questions
asked 2023-03-04T11:45:18.51+00:00
Donald Symmons 1,286 Reputation points
commented 2023-03-14T19:58:07.0166667+00:00
gary nagel 0 Reputation points
1 answer

ASP.NET Webforms app error: MetadataAddress or Authority must use HTTPS unless disabled for developm

Using VS 2022 I just created a new Asp.Net app using the Weforms tamplate along with Asp.net Identity authentication. I built the app and tried to run it but get this error in the browser: The MetadataAddress or Authority must use HTTPS unless…

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.
466 questions
asked 2022-02-10T01:24:27.867+00:00
moondaddy 856 Reputation points
commented 2023-03-14T14:14:39.0533333+00:00
MiskAdam-3296 0 Reputation points