Questions tagged as 'c#'

0
answers

Ajax error return null value [closed]

I have a function in ajax: $.ajax({ type: "POST", url: "@Url.Action("FiltraLevatamento", "Consulta")", data: JSON.stringify(jsn), contentType: "applic...
asked by 19.08.2015 / 19:09
0
answers

Problem with HttpWebResponse. Does not reply

I hope you guys can help me, I'm having a problem when I try via c # make a request on my server (request is slow, takes about 10 minutes to process and returned) For fast requests, everything works fine for slow requests (more than 10 minu...
asked by 10.09.2015 / 21:35
1
answer

Property with List of Objects in Crystal Reports

I have the following classes: public class objeto1 { public string Descricao {get;set;} public List<objeto2> Objeto2 {get;set} } public class objeto2 { public string Descricao {get;set} public decimal Valor {get;set} } I'...
asked by 18.08.2015 / 19:25
0
answers

How to maintain the current state of the GridView with Detail jQuery after the Post Back

I'm using the following solution for my grid: link This solution causes a grid to appear and unravel as it is clicked on the image that causes the effect (expand and collapse). So everything works perfectly the demo example of the aspsni...
asked by 01.10.2015 / 22:09
0
answers

Adding Partial Views to my main page via a modal

I have a page with a button that calls a modal and in this modal there is a table with the products, which when I click on a record of the products it is added to my page. You are adding only the first product, more than one is not added. I h...
asked by 02.10.2015 / 15:32
0
answers

Bag nHibernate with key null

Hello, Does anyone know if it's possible to use nHibernate's Bag with Key Null? In a table some records have several related records, one for many, but not always, sometimes a regret will not have any. I made the mapping by a bag but th...
asked by 02.10.2015 / 17:27
1
answer

How to determine the schedule at which a background task is to be performed

I'm programming for Windows 10, and at certain times in a day I want my background task to be addressed. Here is my registration code: from the home screen: var trigger = new SystemTrigger(SystemTriggerType.TimeZoneChange, false);...
asked by 23.08.2015 / 01:54
1
answer

Windows App Certification Kit 10.0 does not work

I'm having a problem sending my Windows 10 application to the store. The tool that executes after giving the deploy of the app, gets stuck in "cut after suspending Direct3D" and "UTF 8 encoding", someone has gone through this, what should I do?...
asked by 21.08.2015 / 17:51
1
answer

How to treat horizontal swipe, Windows Phone Silverlight?

First of all, sorry for the post, I'm on the smartphone. Well, I'm trying to deploy a burger menu in my silverlight application, I've already tried the drawer layout, but Visual Studio insists on not recognizing it. So I try to create a menu fro...
asked by 23.08.2015 / 06:51
1
answer

ASP.NET Identity and Web API - Problem to register new user

I have a Web API project and I'm using Identity to manage user accounts, in my controller it looks like this: public async Task<IHttpActionResult> Register([FromBody]RegisterDto model) { if (!ModelState.IsValid) { return...
asked by 19.05.2015 / 22:42