Questions tagged as 'c#'

1
answer

How to call the printer on a page made in ASP.Net MVC?

I would like to call the printer, even if the page is being accessed by the mobile. <div class="container droppedHover"> <div class="row"> <div class="span6"> <button class="btn btn-lg btn-block bt...
asked by 01.01.2016 / 23:54
1
answer

Refresh PartialView [closed]

How do I update a partialview (asp. net) after I select some parent information, for example: I have a list of invoices and a partialview on the side to show the items in this note. When selecting one of the invoices my partialview should fet...
asked by 29.12.2015 / 13:14
1
answer

Working with view in a context in Entity Framework 6

Speak Personal All right !? I have a problem that I would like to be helped. Well I have a simple application with 4 related tables I'musingtheentityframework6,myproblemisintheUSERSclass,becauseinrealityitisaVIEW,fromanotherdatabase,resea...
asked by 10.11.2016 / 21:07
2
answers

Partial View does not load Javascript - Asp.Net MVC

I'm moving to a Partial View through a two parameter controller, music and artist. Now in the PV I pass to the function fetchLetra () that is in the file letterIj.js these parameters for the return of the function, however, this is not happening...
asked by 18.11.2016 / 17:19
1
answer

How to share a webservice through FTP?

Contextualization I'm developing an application in C # to access a webservice test that I created. This webservice is simple, it only has a method that returns a string. The webservice I created through Visual Studio, through an Asp.net pr...
asked by 09.10.2016 / 22:44
2
answers

Input string was not in an incorrect format

I'm trying to create a geometric graph looking for a Txt file but at the start of the application this error appears I'm half beginner and I'm having trouble finding the solution     
asked by 17.11.2016 / 00:07
1
answer

How to resize an image using UWP?

I have this code: var file = await ImageChooser.GetSelectedImageAsStorageFile(); var sasUri = await Vm.GetBlobSasUri(file.Name); var blob = await file.UploadToBlob(sasUri); await Vm.ImageSelected(blob.Uri); I need to resize the image bef...
asked by 07.10.2016 / 13:30
1
answer

Configure TextBox for Currency

I am trying to set a TextBox in a WindowsForm to display the value of the field in currency format. I can only make this happen in the Enter event of the field with the following code: private void valorTextBox_Enter(object sender, Even...
asked by 25.09.2016 / 10:24
1
answer

Change Title to display tooltip

I'm doing email validation using toolTip to display the message. If the first one puts the registered e-mail the search is made and the message is displayed that the "Registered E-mail", if it changes the e-mail to one that is not registered the...
asked by 18.12.2016 / 18:25
1
answer

How to send the PartialView input to a controller?

I tried to find something that would get me this doubt, but there is nothing concrete for what I want. I'm using Visual Studio 2015 and MVC 5 and Razor in my project. I have a form (Create) with a submit in a partial view and I have this p...
asked by 15.12.2016 / 11:35