Microsoft Q&A

ASP.NET

1,339 questions

A set of technologies in the .NET Framework for building web applications and XML web services.

Browse all .NET tags

407 questions with ASP.NET tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

Javascript issue

Hi, It is showing "undefined" to the 1st column and can you help and check the project below? https://1drv.ms/u/s!Ai8CrEskdewXykrPvEzLNAv4XY7Z?e=CAEWAW

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
521 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.
471 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,339 questions
asked 2023-03-31T09:30:27.8833333+00:00
Peter_1985 1,891 Reputation points
accepted 2023-04-01T08:36:49.6766667+00:00
Peter_1985 1,891 Reputation points
1 answer One of the answers was accepted by the question author.

ID Card Template: Set background image of Card by clicking an image in Imagebutton in DataList

I have DataList that shows images from database; the images are contained in an Imagebutton. I also have a card on the web page, the card has labels and image controls. I want to be able to click on any of the Imagebuttons, and pass the clicked image as…

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.
471 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
910 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,339 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,627 questions
asked 2023-03-30T23:09:11.26+00:00
Donald Symmons 1,326 Reputation points
accepted 2023-03-31T23:50:38.5733333+00:00
Donald Symmons 1,326 Reputation points
1 answer One of the answers was accepted by the question author.

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.
471 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
910 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,339 questions
asked 2023-03-30T01:25:04.3033333+00:00
Donald Symmons 1,326 Reputation points
accepted 2023-03-30T22:00:35.0733333+00:00
Donald Symmons 1,326 Reputation points
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.
471 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
910 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,339 questions
asked 2023-03-25T13:15:41.9733333+00:00
Donald Symmons 1,326 Reputation points
accepted 2023-03-29T16:39:07.1833333+00:00
Donald Symmons 1,326 Reputation points
2 answers One of the answers was accepted by the question author.

How to bind table data dynamically to pdfmake table body using jquery

I have created a HTML Table and I want to download selected columns into pdf using pdfmake below is my code example html code :- <div id="tablediv"> <table id="stockalloctbl_1"> <thead> <tr…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,339 questions
asked 2023-03-27T10:52:54.96+00:00
Ashok Kumar 141 Reputation points
accepted 2023-03-29T05:18:00.62+00:00
Ashok Kumar 141 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…

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

Designating a link open a .cshtml (view) file in a text editor

Is there a way to have a .net webpage link and open a .cshtml (view) page in either in Visual Studio or other text editor? <a href="/Views/Home/Notes.cshtml">View in Text Editor</a> Yields

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,339 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,856 questions
asked 2023-03-24T12:26:11.8366667+00:00
Dean Everhart 926 Reputation points
accepted 2023-03-27T10:34:12.3+00:00
Dean Everhart 926 Reputation points
2 answers One of the answers was accepted by the question author.

How to Share Code Between Multiple Pages and Classes

I'm trying to share code between multiple Code Behind pages and multiple Classes that uses objects and methods of the Page class. Simple examples would be using the "response" and "session" objects. However, in my real example I'll be…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,983 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,339 questions
asked 2023-03-18T21:00:20.8733333+00:00
Ptownbro 20 Reputation points
edited a comment 2023-03-26T18:03:53.7433333+00:00
Ptownbro 20 Reputation points
1 answer One of the answers was accepted by the question author.

GitHub - referencing repositories in a question

What is the best way to share code through GitHub for the purposes of this Q&A forum? Do I simply include a link to the GitHub repository in the body of the question, or are there other ways?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,339 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
744 questions
asked 2023-03-21T12:55:44.1633333+00:00
Dean Everhart 926 Reputation points
accepted 2023-03-22T13:57:57.68+00:00
Dean Everhart 926 Reputation points
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…

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,627 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,339 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.
471 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
910 questions
asked 2023-03-18T09:31:56.73+00:00
Donald Symmons 1,326 Reputation points
answered 2023-03-22T12:36:18.0933333+00:00
Donald Symmons 1,326 Reputation points
2 answers One of the answers was accepted by the question author.

how to show an arrow button when scrolling a gridview in panel using java script and asp.net?

Hi members i want to show a button when scrolling a gridview in panel i have tried in normal page and thats work fine this is my code <script type="text/javascript"> $(document).ready(function () { //Hide Back to top…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,983 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
521 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,339 questions
asked 2023-03-17T08:30:40.42+00:00
HOUSSEM MAHJOUBI 286 Reputation points
commented 2023-03-21T08:54:04.05+00:00
HOUSSEM MAHJOUBI 286 Reputation points
1 answer One of the answers was accepted by the question author.

DateTime - Time Only - Re: Video

Premise: Right now...I am recording start and stop times within a video within a string field (because it is the easiest way). I would like to record start and stop times in the best way, one that would (eventually) allow calculation of the difference…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,856 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,339 questions
asked 2023-03-15T13:41:22.7366667+00:00
Dean Everhart 926 Reputation points
accepted 2023-03-20T13:09:40.2033333+00:00
Dean Everhart 926 Reputation points
3 answers One of the answers was accepted by the question author.

How to pass oject emp from page Employee to page EmployeeDetails on web blazor server Application ?

I working on blazor web application on .net core 7 . I need to pass object (emp) of emplyee class from employee page to another page EmployeeDetails on employee page EmployeeClass emp=new…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,856 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,627 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,339 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
892 questions
asked 2023-03-15T12:41:50.9166667+00:00
Ahmed Salah Abed Elaziz 105 Reputation points
accepted 2023-03-18T10:36:42.3066667+00:00
Ahmed Salah Abed Elaziz 105 Reputation points
2 answers One of the answers was accepted by the question author.

No more support for Web forms in Visual Studio 2022?

Hi, In new Visual Studio there is no more option to create Web Forms web application? Are MVC only future architecture Visual Studio will support for WEB pages? Thx

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,339 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,983 questions
asked 2022-01-29T12:43:57.717+00:00
nickCroat 96 Reputation points
commented 2023-03-18T01:08:41.2266667+00:00
Bob C 0 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…

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

Redirecting or showing message alert box when using parameterized query with DataReader

I had this code that displays record from database using DataAdapter, and I made it in such a way that when any user tries to go to the page directly by inserting the page address directly in the address bar of the browser, it will show a message box…

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,627 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
910 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,339 questions
asked 2023-03-15T09:24:38.2466667+00:00
Donald Symmons 1,326 Reputation points
answered 2023-03-17T22:31:20.84+00:00
Donald Symmons 1,326 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.
471 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
910 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,339 questions
asked 2023-03-17T02:25:22.76+00:00
Donald Symmons 1,326 Reputation points
accepted 2023-03-17T15:15:46.06+00:00
Donald Symmons 1,326 Reputation points
2 answers One of the answers was accepted by the question author.

are below mentioned packages windows-specific dependencies?

My web application is using below packages, System.Security.Principal.Windows WindowsAzure.Storage Microsoft.WindowsAzure.ConfigurationManager System.windows.forms this particular application also has .resx files It does not have .xaml…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,293 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,339 questions
asked 2023-02-01T08:36:51.65+00:00
BangTV 40 Reputation points
accepted 2023-03-17T05:52:32.66+00:00
BangTV 40 Reputation points
1 answer One of the answers was accepted by the question author.

ASP.net: Data field used in gridview is not showing as column but turns into title in another field

Hi. I have a SQL datasource that returns 5 columns and a gridview to show them, but one of the columns does not show as a column in the gridview but turns into title (showing when holding the mouse over) in one of the other columns. It keeps doing it no…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,339 questions
asked 2023-03-07T07:47:55.6666667+00:00
Kurt Jensen 20 Reputation points
commented 2023-03-16T12:04:10.6233333+00:00
Kurt Jensen 20 Reputation points
4 answers One of the answers was accepted by the question author.

Is it possible to show empty label value if the value of a column used for date or time is null?

I have column for Name, Date and another one for Time. If the values of date and Time columns are null or empty, how do I get to still show the label value in null data value? Is this Possible? please how can I do that?. Here is what I mean in the…

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,627 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
910 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,339 questions
asked 2023-03-13T13:41:43.36+00:00
Donald Symmons 1,326 Reputation points
accepted 2023-03-15T09:00:07.7533333+00:00
Donald Symmons 1,326 Reputation points