Questions tagged as 'asp.net'

1
answer

How to leave the position of a fixed div according to the RaddioButton change

I have the following screen that as soon as you change the option from RaddioButton to div descends or rises. I would like to know how to leave fixed in a position. Cycle Selected: SelectingtheYear: aspx:<divid="indicador...
asked by 29.08.2017 / 15:56
2
answers

Receiving images in ASP.Net Core and saving in the Entity Framework

Good afternoon, Can anyone tell me how to get an image in ASP.Net Core? I have the html page that you are trying to send to the server: <form method="post" enctype="multipart/form-data" asp-controller="Produto" asp-action="ImageLoad"&...
asked by 05.12.2017 / 17:27
1
answer

Area Routes in ASP.NET MVC?

I'm working with areas but it is not working the route and I created 2 areas , inside one I created a folder called Cadastros and inside the other a folder called Tabelas . RegistrationsAreaRegistration.cs namesp...
asked by 30.07.2017 / 04:11
1
answer

Jquery DataTable does not work

I created a table on my system using the jquery datatable library, but it is not working. At the end of the view I made the code declaration in javascript, however the style is not applied. Follow the code below: <script type="text/javas...
asked by 30.07.2017 / 04:58
1
answer

Transform a byte vector into DataSet

I'm reading an excel file (xls, xlsx, csv) and displaying its contents on a new page using DataSet. I can do it for xls and xlsx, but for csv it's not rolling. public static DataSet result; public static void prepareFile(HttpPostedFileBase fi...
asked by 24.07.2017 / 22:36
3
answers

How to anchor a redirect in APS.NET MVC

How can I send the user to a certain page block by passing the id in the url. For example: link , how to pass this type in ASP.NET MVC using return RedirectToAction . The line of my code looks like this: return RedirectToAction("Ind...
asked by 21.06.2017 / 22:09
2
answers

Adding multiple GridView rows

I'm trying to include multiple rows in a GridView, but it does not add rows, it always overrides the first. I'd like to know how I can add multiple rows, not replace the first rows. Follow the code for what I'm currently doing: dt.Column...
asked by 05.06.2017 / 16:00
1
answer

Open Modal by code-behind

I have a modal, #myModal, and I would like that when I clicked on the button, I had a condition and that if it entered the else, it would open the modal. I created this code in javascript: <script type="text/javascript"> f...
asked by 19.04.2017 / 21:29
1
answer

ASP.NET - .aspx does not receive fields from the form post cross domain

I have a form template that I want the client to use to paste onto your page. The form points to a .aspx page on my server. In the Page_Load event in my .aspx I want to get the fields filled out of the form via post, however, the following...
asked by 29.03.2017 / 20:17
1
answer

Make a textbox visible by selecting a radiobutton

With the code below I can do this procedure however I have to click the button. It looks like it needs a refresh to work <asp:RadioButton ID="RadioButton1" runat="server" GroupName="pesquisa" /> Teste <asp:RadioButton ID="RadioButto...
asked by 09.08.2017 / 15:32