Questions tagged as 'asp.net'

1
answer

Error calling method in code behind [closed]

using System; using Treinamento.DTO.Global; using Treinamento.BLL; namespace Treinamento.WEB.Tabelas.cidade { public partial class Listar : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { GridView1.Data...
asked by 29.10.2018 / 13:20
2
answers

Area does not work on the Locaweb server

I have a hosting in Locaweb and am publishing an mvc 4 app. But Areas does not work. Error:    Server can not access application directory '\ windows-pd-0001.fs.locaweb.com.br \ WNFS-0002 \ delavi4 \ web \ panel \'. The directory does not...
asked by 15.10.2018 / 01:32
1
answer

ASP.NET - Choose multiple records from a dropdown

I'm developing a web application in ASP.NET MVC where I want to have a page that allows the user to select one or more exams to sign up from a dropdown and present the chosen exams in a table. At any time, the user can remove a chosen exam from...
asked by 10.08.2018 / 15:48
1
answer

How to pass an interpreted parameter on the server to a javascript function?

I am creating a control ascx that will have multiple impressions on a same page. In this control, there is an image that I want to execute a javascript function when it is clicked. For example, like this: <asp:Panel ID="div...
asked by 30.05.2018 / 22:04
1
answer

Model List arrives outdated in controller - Asp.Net mvc

I have a ViewModel with two lists of objects. The first one is an editable column, where you can change a numeric value. After changing the values of the "ListTipos" in the view, it does not arrive with the new values in the controller....
asked by 23.10.2018 / 01:53
1
answer

Strange error on line XLWorkbook

Follow the code: protected void importar_Click(object sender, EventArgs e) { if (selecionarArquivo.HasFile) { if (Path.GetExtension(selecionarArquivo.FileName) != ".xlsx" && Path.GetExtension(selecionarArquivo.Fi...
asked by 28.02.2018 / 13:04
1
answer

select data from a sql server procedure in C #

I made a procedure that takes all the data of all the columns of my sql table of interest, in my application asp in C # I can put all the rows in a list, but I need to refine this search by taking only all the data of a column only. I researched...
asked by 11.01.2018 / 12:10
1
answer

GridPanel CheckboxSelectionModel - Add selection (ext.net)

How can I add a particular column that is selected via java-script? I'm using ext.net. <script> var sumCheck= function () { var resultSum; /* todo loop selectedrows resultSum += column(...
asked by 12.12.2017 / 17:40
1
answer

Calling JS in C #

I'm working on WebForm with MasterPage, in this framework I'm not able to make modal call (js) in my C #. Intheeventofthebutton(intheimageabove)withinamodalthesameasarefreshonthepageandkillsthemodal,followthecodebehindinC#:protectedvoidbtnIm...
asked by 06.12.2017 / 18:03
2
answers

How can I create a list

I need to create a list, where it will list all the existing items within an order. In the method below I can bring an item, but I can not bring it if I have more than one. My question would be, do I have to create a method in code behind...
asked by 19.09.2017 / 15:15