3,396 questions with ASP.NET tags

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

How do I hide some labels if the value for datetime DataType are default

How do I hide labels that display unwanted values if I don’t want to? I have a form with TextBoxes where user inserts their values into database. Four of the Textboxes are to input Dates and Times. Example, 1.DateFrom – 2. DateTo and 3. Time From – 4.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,574 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 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,573 questions
asked 2023-05-08T08:19:31.5366667+00:00
Donald Symmons 2,856 Reputation points
accepted 2023-05-16T04:31:05.77+00:00
Donald Symmons 2,856 Reputation points
2 answers

How integrate SSRS Mobile Reports in MVC ASP.NET web project

Hi. I'm working with SSRS server. I saw in many places : in the microsoft web, in youtube tutorials or in this forum how integrate paginated reports (.rdl) on a .net project. But I can't find any tutorial of how integrate mobile reports in a .net…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,855 questions
asked 2023-05-15T06:32:00.06+00:00
SSRS-VS 46 Reputation points
answered 2023-05-16T02:03:16.5733333+00:00
AniyaTang-MSFT 12,416 Reputation points Microsoft Vendor
3 answers

How to get checkbox have checked false or not checked on post method on mvc razor page?

I work on mvc razor page I face issue I can't get checkbox not checked or have checked false on post method on page model csharp . Only I can get selected checkbox true . @Html.AntiForgeryToken() <form method="post"> <button…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 questions
asked 2023-05-13T12:56:16.9866667+00:00
Ahmed Salah Abed Elaziz 390 Reputation points
answered 2023-05-15T15:52:07.6133333+00:00
Bruce (SqlWork.com) 60,376 Reputation points
1 answer One of the answers was accepted by the question author.

Excel upload to gridview in asp.net C#

Hello I used this code to copy excel and paste in textbox and it shows perfect in gridview but i want country data column should be default value to comes once only ID,Name from excel and i paste it textbox for example county name IND how to change this…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 questions
asked 2023-05-11T17:17:34.9233333+00:00
RAVI 1,056 Reputation points
commented 2023-05-15T11:25:13.17+00:00
RAVI 1,056 Reputation points
0 answers

My asp.net page is hacked?

i have a newsletter subscription website running for years 6 months ago, my website received subscriptions with unknown text input at 1000 average per month. My website will then send out confirmation email to the email address. my website input is also…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 questions
asked 2023-05-12T09:30:25.4466667+00:00
WONG Tony 161 Reputation points
commented 2023-05-15T03:12:16.1866667+00:00
Lan Huang-MSFT 28,821 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

How to get which checkbox have check true or false on razor page mvc ?

I working on asp.net core MVC razor page . I face issue I can't get checkbox checked or not on page model razor page . so which checkbox have checked or not checked this is exactly I need to get on page model MVC. so if checkboxes StockTake and…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 questions
asked 2023-05-11T13:03:23.8733333+00:00
Ahmed Salah Abed Elaziz 390 Reputation points
commented 2023-05-13T20:40:42.3833333+00:00
Ahmed Salah Abed Elaziz 390 Reputation points
1 answer

Cannot connect to SQLlIte in .NET

I placed sqllite file in App_Data the file name is logindb. When I try to open the file it gives error // Create a new database connection: sqlite_conn = new SQLiteConnection("|DataDirectory|logindb"); …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,574 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 questions
asked 2023-05-08T08:41:07.1933333+00:00
Anonymous
commented 2023-05-13T16:20:44.54+00:00
Anonymous
1 answer One of the answers was accepted by the question author.

Binding a table with List

I need to display two search box and a table on my view. below is the model class: public partial class Transaction { public string TransactionId { get; set; } = null!; public string? ReceiptNumber { get; set; } public string? EmailAddress { get;…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 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,573 questions
asked 2023-05-11T23:23:28.6033333+00:00
Anjali Agarwal 1,386 Reputation points
accepted 2023-05-12T19:16:43.2333333+00:00
Anjali Agarwal 1,386 Reputation points
1 answer One of the answers was accepted by the question author.

How do I convert an old ASP.NET WebForms app to an application?

Back in the early 2000s Microsoft's WebForms projects were of one type. (I don't remember what they were called back then - it's been too long.) Then Microsoft upgraded the project type to what I think was called a WebForms Application. (I'm not certain,…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 questions
asked 2023-05-11T20:11:36.2633333+00:00
Rod At Work 866 Reputation points
commented 2023-05-12T16:27:50.3766667+00:00
Albert Kallal 5,226 Reputation points
1 answer

how can add validation date

How can add validation date ?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 questions
asked 2023-05-12T11:58:49.5933333+00:00
Harun Ergün 260 Reputation points
commented 2023-05-12T13:22:54.3033333+00:00
AgaveJoe 27,421 Reputation points
1 answer One of the answers was accepted by the question author.

radio and date problem mvc

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 questions
asked 2023-05-12T09:15:17.5266667+00:00
Harun Ergün 260 Reputation points
commented 2023-05-12T11:05:29.0733333+00:00
Harun Ergün 260 Reputation points
1 answer

How to dynamically unhide a anchor tag that I have hid using "display:none" in my asp.net project

This is the code I have <div class="dropdown" id="drp" runat="server"> <div class="tab"> tab</div> <div class="drpdown-content" style="top:20px"> <a…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 questions
asked 2023-05-12T05:27:34.0066667+00:00
Adithyan 0 Reputation points
answered 2023-05-12T07:33:41.3666667+00:00
Lan Huang-MSFT 28,821 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

MVC C# get device unique Id or IMEI Number

Hi how to get Mobile device Unique Device id or IMEI for iPhone/Android/Windows/iPad or any device in asp.net C# MVC. as per requirement if i browse any web application through mobile device then will save Unique ID or IMEI in database for access…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 questions
asked 2022-01-14T05:27:00.523+00:00
Anonymous
commented 2023-05-12T02:08:23.1133333+00:00
Anonymous
2 answers One of the answers was accepted by the question author.

How to call function RelatedUserAccessPermission to fill check boxes based on id returned ?

I work on .NET core 7 MVC razor page . I face issue I can't fill check boxes Id StockTake and ShelfLabelPrint by using ajax request to this function RelatedUserAccessPermission URL below I run it on browser to access function…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 questions
asked 2023-05-10T12:51:38.4933333+00:00
Ahmed Salah Abed Elaziz 390 Reputation points
commented 2023-05-11T21:37:52.7333333+00:00
Bruce (SqlWork.com) 60,376 Reputation points
1 answer

i am calling API with Allow Anonymous Access

[AllowAnonymous] [HttpGet] [Route("api/HelpVideo/{ID}")] [ResponseType(typeof(HttpResponseMessage))] public HttpResponseMessage GetHelpVideo(int ID) { try { …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 questions
asked 2023-05-11T13:56:14.2833333+00:00
Basit Nisar 40 Reputation points
edited an answer 2023-05-11T21:26:21.4066667+00:00
Bruce (SqlWork.com) 60,376 Reputation points
1 answer One of the answers was accepted by the question author.

Binding a List to a Table

I have the following controller: public async Task<IActionResult> Display(SelfServiceTransaction trans) { Transactions transactions = new Transactions(_recorderContext); List<Author> author =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 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,573 questions
asked 2023-05-10T02:11:08.0766667+00:00
Anjali Agarwal 1,386 Reputation points
accepted 2023-05-11T21:09:37.13+00:00
Anjali Agarwal 1,386 Reputation points
1 answer

ASP.NET Core 6.0 which uses Microsoft Identity Platform for authentication and Active Directory groups for authorization

We are building an ASP.NET Core MVC web application for an organization. This organization has their users in Azure Office 365. We are planning to create a new ASP.NET Core MVC web application and define the authentication to use the Microsoft Identity…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 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,358 questions
asked 2023-04-23T14:14:53.3466667+00:00
john john 946 Reputation points
commented 2023-05-11T17:38:17.8233333+00:00
Ryan Hill 26,866 Reputation points Microsoft Employee
1 answer

link using "a" tag with target _blank in MVC

I'm trying to add a link in our MVC web site to an external website and I want to open it in a new tab. Unfortunately, when I add target="_blank" to my link, it stops working. Without it, it correctly opens in the same tab. In a new created MVC…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 questions
asked 2023-05-11T13:00:44.5966667+00:00
Olivier Voutat 96 Reputation points
answered 2023-05-11T14:57:34.24+00:00
Olivier Voutat 96 Reputation points
3 answers One of the answers was accepted by the question author.

How to allow IIS web app file download to a server in another VLAN

Hi, I am trying to develop an ASP.NET web application that consists of saving xml file to a server (shared folder) in another VLAN. I can see the file being saved successfully when I tried to run in debug mode (in my PC) but the file cannot be saved when…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 questions
asked 2023-05-10T03:12:10.4666667+00:00
Roefatin, Ridzuan 40 Reputation points
commented 2023-05-11T09:39:36.7833333+00:00
Roefatin, Ridzuan 40 Reputation points
3 answers

asp:label text= is too long to work with. How to work on multiple lines but not with <br>

hi on my asp:label text= fields the text is too long How to work on multiple lines in the html code area but not with <br> because i don't want that the text will be cut on the webpage for the client i just want to work with long text= zone in the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 questions
asked 2023-05-09T14:29:20.3166667+00:00
Pierre Zarzour 0 Reputation points
answered 2023-05-11T08:36:37.85+00:00
Viorel 114.1K Reputation points