Why is OnInitializedAsync() called twice on a page reload
Hi all; Normally when a page is being created & rendered in Blazor version 8, RenderMode.InteractiveServer, OnInitializedAsync() is called once. But when I do a Reload on Chrome, it is called twice. And all child components in the page are called…
.NET MAUI: popup modal window cancels an intent (Android platform)
Hello. I am writing .net maui application that serves as launcher for another multiplatform application. This launcher should install/update that another application and then do some actions (update ui, delete temporary files,..). Another question about…
MAUI: Issue with deleteing the last item from ObservableCollection
I am using an ObservableCollection saving comments. When I delete a comment, I will fetch the deleted comment id and delete that comment from the ObservableCollection. My Problem is if I delete the last comment all the previous comments are vanishing…
MAUI Group ListView issue while expanding and collapsing header item are going in hidden state
Simulator Screenshot - iPhone 15 - 2024-03-14 at 02.24.03.pngGroup ListView issue while expanding and collapsing header item are going in hidden state When Listview is expanding the header item are going in hidden state there see only empty space while…
Localize a DatePicker on Android using .Net Maui
Hi , i'm working with .net Maui 8 , and i want to use datepicker. it display name of days, months in English or i want it in french. i refer to learn page https://learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/datepicker?view=net-maui-8.0 …
Are there known compatibility issues with WS_EX_TOPMOST and Windows 11’s Start menu?
Title: Issue with WS_EX_TOPMOST in .NET App on Windows 11 Overlapping Start Menu Body: Hello, I’ve developed an application using the .NET Framework that applies the WS_EX_TOPMOST window style to create a watermark overlay. This overlay remains on top of…
How to Navigate on goButton_Click in winView2 ?
Tia ; How to Navigate on goButton_Click in winView2 ? Doesnt Navigate private void goButton_Click(object sender, EventArgs e) { infoBox.Text = "goButton_Click BEFORE if"; if (webView !=…
ClickOnce is disable. How to activate it?
I just migrated form VSTO 2017 to 2022 and I can't publish any application anymore. It seams like it is because ClickOnce is desabled. How can I get it back? I checked with Visual Studio 2022 Installer and ClickOnce is checked on.
Push notifications NuGet Package Support in MAUI iOS App
I am working on upgrading a Xamarin mobile app to MAUI. So far, things are mostly going smoothly, but I've run into trouble on the iOS side of things. The old version of the app needed to receive push notifications from the remote server. I accomplished…
How to add a row to a DataGridView that has a ComboBox
I've been running this application for years. I just went from w10 to w11 and get the error message "DataGridViewComboBoxCell value is not valid" when loading data. The DataGridView has a ComboBox column, but I add structures that have only…
What is the meaning of "System.IndexOutOfRangeException: Index was outside the bounds of the array"?
I would like to know more about the "System.IndexOutOfRangeException: Index was outside the bounds of the array at System.Collections.Generic.HashSet`1." What could cause this exception during my login and recycling the application pool in IIS…
call an api in C#
I have the following code: namespace TwilioSendMessages.Controllers { [Route("api/[controller]")] [ApiController] public class SMSController : ControllerBase { private readonly IWebHostEnvironment _webHostEnvironment; …
Maui - create only one instance
Hi, I have maui app on WINDOWS 8 desktop. I have shortcut to exe. When i click on exe it create and instance of this app. It possible to limit to only one instance of app will be alive ? Thanks in advance,
net maui windows platform trying to create control inside collectionview or bindableproperty ?
I am trying to small menu which is clickable gruop of buttons inside collectionview or bindableproperty I could not manage it .. my problem is not show contents and zindex problem when open the menu change the positions of the other content.. how to…
Securetorage Null
So, for my app, I need the functionality of letting the user change role (Student, Coordinator or teacher) So, the way that it was setup was when I log in, I immediately get the email from firebase. this was working fine. but for some reason when I quit…
Update iOS SDK to 17 or later
Hi, After publishing my app to AppStore, I received this email I'm using Visual Studio 2022 Mac version 17.6.9 (build 415) , and Xcode 15.2 After receiving that email, I went to my iOS Xamarin project -> Properties -> iOS->Build and changed my…
Pasing data to viewModel contractor
Since I need m data immediately, I decide to pass my class to the WelomePage Contractor public partial class WelcomePageViewModel : BaseViewModel { DemyUser? loggedUser; public WelcomePageViewModel(DemyUser demyUser) { loggedUser =…
how to solve a dot net core MAUI Dependency Injection failure that just hangs
I am developing a MAUI application with dot net core 8. i need to setup getting data from a rest api and binding the data to xaml pages with MVVM. i have used online examples to be the basis for my code and the samples run. in my app a content page will…
How to add accessible name ( aria-label ) in @DropDownListFor in razor?
I have filter dropdown and trying to add comply with 508 compliance. I used aria_label, aria-label and aria_labelledby but unable to see accessible name for the DropDownListFor. I see No ARIA attributes under ARIA Attributes on Chrome Browse tool. How…
Explicit concurrent copying GC freed 10645(416KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 5663KB/11MB, paused 331us total 12.731ms
Explicit concurrent copying GC freed 10645(416KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 5663KB/11MB, paused 331us total 12.731ms how to fix it? add heap size? how to increase it?