Questions tagged as 'c#'

1
answer

How to do a Reset in a C # .aspnet GridView?

I have two different tables ( DataTable ) and need to use them in the same Gridview . But when I call Gridview on the screen it always assumes the value of the first table. Does anyone know how to make a Gridview that f...
asked by 17.11.2016 / 15:04
1
answer

Is it possible to have a repeater line not repeat? W#

Is it possible to have a repeater line not repeat? Or bind in lines of FooterTemplate of Repeater ? I need the last line I tried to put in FooterTemplate does not repeat, because they are the total values. When I leave in ItemTem...
asked by 16.11.2016 / 18:15
2
answers

Class accessible in every application C # [closed]

I would like a class that is not static to be available to the entire application. At first I thought of making this class static, but for obscure reasons that is not the case, I can not make it static. Then I researched something and found s...
asked by 17.01.2017 / 20:01
1
answer

Error: The request entity's media type 'multipart / form-data' is not supported for this resource

I'm trying to do a POST in a WebApi that is returning me the following error:    The request entity's media type 'multipart / form-data' is not supported for this resource.       ExceptionMessage: No MediaTypeFormatter is available to read...
asked by 04.01.2017 / 03:50
1
answer

Creating reports with ASP.NET MVC and AngularJS [closed]

My backend is with C# / MVC , in frontend usage Angular , I got to a point in the project that I need to create reports. How to generate reports in web environment? Which tool do you use?     
asked by 23.01.2017 / 11:30
2
answers

Save an image by identifying it from FrameworkElement

I have this layout: <StackPanel> <Button x:Name="button" Content="Button" Click="button_Click" Height="50" /> <Image x:Name="image" Source="vermelho.jpg" /> </StackPanel> The code I tested to write the image...
asked by 08.01.2017 / 11:08
1
answer

Menu burger hiding when calling a new view Xamarin Forms

I have a View that is being called through a MenuItem button. But within these View contains another button that calls a new View . This new View opens off the burger menu, ie it hides itself. I need this new...
asked by 09.01.2017 / 17:29
1
answer

Send array to controller via Ajax.BeginForm and update PartialView

Good morning guys, I have a search screen where you can select multiple values according to the user filter. I use Ajax.BeginForm to update the table, but now I need to send an array, the user can select multiple values in a given field, s...
asked by 29.09.2016 / 17:00
2
answers

Visual Studio copy file to output directory

Hello In my project I have an xml file and I want to copy this file to the output directory at compile time so that it gets along with the executable file and other files. For this I created a post-compilation event to copy this file to the o...
asked by 20.09.2016 / 17:17
1
answer

Angular ng-show, does not remove C # code / Angular / JavaScript

I have the following code which lists categories: <div class="row" ng-show="!TemCategoria"> <div class="container" id="categoria" style="float:right" ng-hide="TemCategoria"> <select class="btn btn-warning pull-right" onchan...
asked by 21.09.2016 / 18:40