25,838 questions with .NET-related tags

Sort by: Updated
2 answers

validate texbox using this code in c#

Hello I have one asp.net textbox and one asp.net button when user click i want to check if Textbox1 has value 11 or 22 or 33 then okay if any other number i want to show alert as "Wrong Data" how to do so using asp.net c# thanking you

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,489 questions
asked 2024-10-10T11:24:22.7766667+00:00
RAVI 1,056 Reputation points
answered 2024-10-11T06:47:25.2166667+00:00
Lan Huang-MSFT 29,341 Reputation points Microsoft Vendor
0 answers

Errors from .net MAUI android binding project after adding reference

Android binding project successfully compiles without issues but the same project is referenced into maui project it throws compile time errors These all errors are just warnings in native android studio project but in MAUI this warnings shows as errors…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,507 questions
asked 2024-10-08T07:18:13.2766667+00:00
Rupesh HikePOS 0 Reputation points
commented 2024-10-11T06:42:00.0866667+00:00
Rupesh HikePOS 0 Reputation points
0 answers

Are ESim related WinRT APIs require Package Identity?

Hi, team I am trying to use WinRT API (under name space Windows.Networking.NetworkOperators) to read ESim ID on my laptop. I created a UWP App and this api worked. However the project i'm working on is not a UWP app and it's based on .NET 4.6. I imported…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,395 questions
Universal Windows Platform (UWP)
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,777 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,933 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,352 questions
asked 2024-10-11T06:40:18.12+00:00
Jayden Xia 0 Reputation points
3 answers One of the answers was accepted by the question author.

Persona 3 Reload dlc not working

I played the Persona 3 reload base game through Game Pass on pc. I downloaded the expansion pass tonight so I could play the new dlc. However, when I try to launch it in the game it keeps saying that I need to purchase the expansion pass to play the DLC.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,859 questions
asked 2024-09-10T04:59:06.8433333+00:00
Kyle Denny 50 Reputation points
edited the question 2024-10-11T06:38:42.57+00:00
Jack J Jun 24,491 Reputation points Microsoft Vendor
1 answer

I can't change property of a button....

Hello, I wrote an app has 1 datepicker, 2 textblocks, 2 textboxes, and 2 buttons. My problem is one of the buttons remains unabled like below. xaml code for this view is: <Window x:Class="WpfApp3.MainWindow"        …

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,777 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,933 questions
asked 2024-10-11T04:31:36+00:00
c00012 716 Reputation points
commented 2024-10-11T06:29:12.5266667+00:00
Jiale Xue - MSFT 45,271 Reputation points Microsoft Vendor
1 answer

How to fix this : i have vulnerabbility issue for .net framework

Could you please help on this : KB4556813 is not installed %windir%\Microsoft.NET\Framework64\v2.0.50727\Mscorlib.dll Version is 2.0.50727.8745 %windir%\Microsoft.NET\Framework\v2.0.50727\Mscorlib.dll Version is 2.0.50727.8745 KB4534271 is not…

.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,161 questions
asked 2024-10-10T12:23:05.46+00:00
Ralph 0 Reputation points
answered 2024-10-11T06:14:02.0966667+00:00
Jiachen Li-MSFT 31,331 Reputation points Microsoft Vendor
0 answers

I want to change the "SearchBar" element to suit myself (Android)

I use a class inherited from "EntryHandler" to remove the background of the "SearchBar" element and it is removed, but an exception occurs when entering into the "SearchBar" text field. System.InvalidCastException:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,507 questions
asked 2024-10-11T05:55:48.65+00:00
валера карманов 271 Reputation points
edited the question 2024-10-11T05:56:22.4633333+00:00
валера карманов 271 Reputation points
1 answer

Capture value in Radio Button before Submit

I like to capture the values of Radio button button Submit and use validate in IF statement. If(Radio button button value == "CP"") {label="Find Selling Price"} namespace MauiAppMCQs.Models { public class…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,507 questions
asked 2024-10-07T15:11:50.7666667+00:00
Kalyan A 205 Reputation points
commented 2024-10-11T05:55:54.48+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 42,751 Reputation points Microsoft Vendor
1 answer

Outlook animtion

I got a border with my item <SwipeItems Mode="Execute"> <SwipeItem BackgroundColor="{AppThemeBinding Dark={x:StaticResource SwipeDark}, Light={x:StaticResource…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,507 questions
asked 2024-10-09T22:48:27.44+00:00
Eduardo Gomez Romero 625 Reputation points
commented 2024-10-11T05:09:44.66+00:00
Eduardo Gomez Romero 625 Reputation points
1 answer

How to make "RefreshView" friends with "AbsoluteLayout"

public CollectionPage() : base() { collection.SelectionChanged += _OnSelectionChanged; collection.ItemTemplate = GetDataTemplate(); LoadedCollection(); refresh.Command = new Command(LoadedCollection); refresh.Content = collection; var fabButton…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,507 questions
asked 2024-10-08T16:42:53.7533333+00:00
валера карманов 271 Reputation points
commented 2024-10-11T04:51:19.4866667+00:00
валера карманов 271 Reputation points
1 answer One of the answers was accepted by the question author.

100% of the parent's width

How to make the "Entry" element 100% of the width of its parent?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,507 questions
asked 2024-10-10T19:22:13.9966667+00:00
валера карманов 271 Reputation points
accepted 2024-10-11T04:46:06.0166667+00:00
валера карманов 271 Reputation points
0 answers

Autocomplete list Selection using Key Up/Down in Textbox and Scroll should move in asp.net c#

When pressing the up or down keys in an autocomplete textbox, if dropdown options are available, the selection should move through the values, and the scroll should adjust accordingly, moving from top to bottom or bottom to top based on key…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,489 questions
asked 2024-09-21T13:44:47.67+00:00
Ashok Kumar 201 Reputation points
commented 2024-10-11T04:18:30.64+00:00
Ashok Kumar 201 Reputation points
3 answers

How to Configure Library Files to Run in a Subfolder?

Hello There is a library named TolkDotNet.dll in a c# wpf project. This library references various dll files in the x86 and x64 folders. To get rid of the file confusion, I placed them in the Lib folder as TolkDotNet, x86, x64. Then I showed the…

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,777 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,933 questions
asked 2024-10-06T10:13:18.32+00:00
fatih uyanık 100 Reputation points
commented 2024-10-11T03:29:28.8533333+00:00
Hongrui Yu-MSFT 1,995 Reputation points Microsoft Vendor
1 answer

How to fix

.NET Runtime version : 2.0.50727.9179 - No debugger found.No registered JIT debugger was specified

.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,161 questions
asked 2024-10-04T10:19:00.3+00:00
joaquim valentim 0 Reputation points
answered 2024-10-11T03:20:04.7266667+00:00
Jiachen Li-MSFT 31,331 Reputation points Microsoft Vendor
0 answers

One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts

I have a Xamarin Android application that integrates the uGrokit RFID library. Recently, I updated the targetSdkVersion to 34 in the Android Manifest. After deploying the build, the app works without crashes on devices running Android 13. However,…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,353 questions
asked 2024-10-10T14:52:45.45+00:00
Muthu Madhavan 0 Reputation points
commented 2024-10-11T03:18:05.1033333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 42,751 Reputation points Microsoft Vendor
0 answers

Sort and filter not working .net maui

I'm trying to add a filter and sort to my app. the sort and filter func code are stepped thru but does not work, I do not see any data in the checkListItem I think the issue is the use of SourceCache ( I found sort/filer sample code and tried to add…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,123 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,507 questions
asked 2024-10-10T13:37:02.0266667+00:00
tim 180 Reputation points
commented 2024-10-11T03:17:27.76+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 75,661 Reputation points Microsoft Vendor
3 answers

valdiate gridview data using asp.net c# code behind on button click

Hello This Is my MS sql data /****** Object: Table [dbo].[Table_11] Script Date: 09/22/2024 19:00:36 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[Table_11]( [ID] [int] IDENTITY(1,1) NOT…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,489 questions
asked 2024-09-22T13:37:28.3666667+00:00
RAVI 1,056 Reputation points
commented 2024-10-11T03:09:55.0133333+00:00
Lan Huang-MSFT 29,341 Reputation points Microsoft Vendor
2 answers

Want to add Checkbox List asp.net but not alignign correctly

I have a forms as described in this post https://video2.skills-academy.com/en-us/answers/questions/2086934/how-to-add-the-date-selected-to-an-asp-net-form-wi the problem is I tried to add asp,net checkbox list but it does not style correctly. I have used Flow,…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,489 questions
asked 2024-10-10T12:57:33.08+00:00
Matt Lee 20 Reputation points
answered 2024-10-11T03:09:02.8933333+00:00
Lan Huang-MSFT 29,341 Reputation points Microsoft Vendor
1 answer

LIST SCALING

I have developed a pretty large application for desktop using VS Community, based on .NET Framework 4.7.2. The app includes several instances of ListView (in detail mode) and DataGridView. When I run my application with the default display scaling 100%…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,859 questions
asked 2024-10-10T14:05:13.9833333+00:00
Giorgio Sfiligoi 166 Reputation points
answered 2024-10-11T02:58:28.1566667+00:00
Jiale Xue - MSFT 45,271 Reputation points Microsoft Vendor
1 answer

Error NETSDK1061 encountered when run "dotnet publish"

Hi All, Good afternoon. Let me first give a big picture on my project. The main project is using .NET8.0, and it has 2 dependencies. One of the dependencies is using netcoreapp2.1, which is also the one trigger the error NETSDK1061.   I encountered…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,859 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
336 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,161 questions
asked 2024-09-30T07:12:41.6933333+00:00
Song Xu (NCS) 0 Reputation points
commented 2024-10-11T02:49:24.4033333+00:00
Jack J Jun 24,491 Reputation points Microsoft Vendor