Questions tagged as 'asp.net'

1
answer

How to copy the nodes of a Treeview to a Textbox

I need to copy the nodes of a TreeView to a TextBox in Visual Studio 2015 asp.net C #. But the AllowDrop or Enable DragAndDrop function does not appear in the TreeView properties. Any idea how I could do it? Thanks     
asked by 01.12.2017 / 23:34
0
answers

Application .Net Core works in Windows Server 2012 R2 but not Windows Server 2012

Good morning, I have an application in .Net Core that I do not get to work in a windows server 2012, but if it works in a windows server 2012 R2. In theory I installed the 2 things that are needed, but I can not get it to run, I get error...
asked by 29.11.2017 / 18:36
1
answer

how can I save the contents of a fileupload in a byte array?

Good evening everyone, my query is as follows. I have an asp.net web forms form on vb.net where I have an asp: fileupload control like this: <asp:FileUpload ID="UpLoadEstudiantes" runat="server" AllowMultiple="False" CssClass="fil...
asked by 24.11.2017 / 06:07
0
answers

Pass values of an input and calculate route

I have the following code, I am trying to pass the value of an input textbox to a function that calculates a route, the textbox is receiving coordinates from a database elcode is as follows: document.getElementById('Busca_Camino').addEventList...
asked by 29.11.2017 / 00:16
1
answer

because my modal appears fast and "disappears"?

Hi, I have a project in ASP .NET with C # I have a form to change my password, and for that I have a modify button in which when I click on it, it should show me a modal where a message appears that the password has been modified and a button wh...
asked by 05.03.2018 / 19:52
1
answer

The best way to bin the ownership of a ViewModel in post

Good morning, The idea is the following: I have a project in ASP.NET 4.6.2 following the MVVM pattern, I have my ViewModel class that represents the page and one of the properties of that ViewModel is an object that has another object as its...
asked by 01.12.2017 / 04:15
1
answer

how to insert a dataset into a gridview

I'm trying a DataSet to a GridView . I have guided myself with some internet examples This is part code behind and when executing it shows me the following error:    Fill: The SelectCommand.Connection property has not been ini...
asked by 19.11.2017 / 03:48
0
answers

The name '' does not exist in the current context. C #

Good afternoon I have a functionality to generate an Excel file from a template. By clicking on a button the code is executed and the data contained in the variables "listTema", "listaProyectos" says: The name '....' does not exist in the curren...
asked by 15.11.2017 / 19:03
0
answers

HTML to ASP.net - Problems with CSS styles

I would like to be taken out of a problem ... I have some CCS3 styles that I am applying to an HTML page, until there, the problem is that I want to migrate this work to asp.net and when applying the previous styles to an asp.net page do not wor...
asked by 13.11.2017 / 19:29
1
answer

Fill GridView with two nested tables

I have the following two nested tables: TAREAS( ID INT PRIMARY KEY, TAREA VARCHAR(50), DETALLES VARCHAR(200), FECHAINICIO DATETIME, FECHAFIN DATETIME); TRABAJADORES_TAREAS( ID INT PRIMARY KEY, TAREA INT FOREIGN KEY REFERENCES TAREAS(ID), TRAB...
asked by 08.11.2017 / 13:23