Questions tagged as 'c#'

2
answers

Problem with navigation using MVVM in Xamarin

I want to navigate using the MVVM pattern in Xamarin.Forms, for that I offer a command to a certain image as seen in the image ... the code of this view is linked to the MainViewModel and to a property called MenuSisquim located inside...
asked by 25.09.2018 / 02:48
1
answer

Load data in a text box from sql, when changing a combo box or a DataTimePicker in C #, Visual Studio MVC

making an application that records the daily information of what was done on a farm during the day. The screen is like this: In which the intention is that when changing a combo box or the datetimePicker date data is loaded from sql. I...
asked by 27.09.2018 / 19:53
1
answer

Concatenate value in repeated records using linq

I have a query in linq that returns a list of colonies from a table in SQLSERVER. var todasColonias = ( from SQLColonias in context.colonias where SQLColonias.status.Equals(true) select new...
asked by 01.10.2018 / 20:26
2
answers

I can not get the actual path of the SD on my android device in Xamarin.forms

I am developing an App in Xamarin.forms in which I must generate a PDF inside the SD card of the device. The problem I have is that every time I try to access the SD it always returns the same result:    /storage/emulated/0/HolaMundo.pdf...
asked by 03.04.2018 / 17:02
1
answer

Convert an array of objects to JSON

You see, I have the following problem, I have a field of type hidden on a page asp.net that has as value a list of objects serialized with JSON from C# . The value of hidden is the following text: [{ "Eleme...
asked by 09.05.2018 / 17:35
3
answers

The length of the string exceeds the value set in the maxJsonLenght property

I am sending a picture on Base64 through Ajax, this is because I am using an Apache Cordova PlugIn to take pictures. The result in Base64 is sent to the MVC server in a JsonResult. The problem is that when the string is very long the server retu...
asked by 21.06.2018 / 21:01
2
answers

UserControl how to remove it

I'm working on a desktop application windows form , when I close a UserControl I do it in the following way. private void _proveedor_ProveedorClose(object sender, EventArgs e) { pnlPiso.Controls.Remove(_proveedor);...
asked by 03.05.2016 / 00:19
1
answer

Change text ComboBox Xaml?

I'm using this code to generate a ComboBox but on the screen I get " choose an item " I want to change it. <ComboBox x:Name="Tempso" HorizontalAlignment="Left" Height="55" Margin="70,243,0,0"...
asked by 12.05.2016 / 07:18
2
answers

"Skipped 76 frames" in Xamarin.Android

I am developing an application in Xamarin.Android where I use Media Plugin to capture a photo and send it as a parameter to another Activity , but when I take the photo and give it OK, there is a moment when it is shown a screen lik...
asked by 04.10.2016 / 00:59
2
answers

What is the assembly reference for "RestClient, RestRequest and HttpBasicAuthenticator"

I am developing for Windows embedded 6.0 and since I want to send emails, researching I found Mailgun this gives me the code which should be in project which is this: public static RestResponse SendSimpleMessage() { RestClient...
asked by 26.09.2016 / 18:22