Questions tagged as 'asp.net'

3
answers

Open an Excel File on asp.net

I have the following problem: I want to open an Excel file when I press a button; the file is in a shared folder on a server. When I'm programming in my localhost , if it works with this code: protected void BtnChk_Click(object sen...
asked by 07.03.2017 / 16:46
1
answer

UpdatePanel Instance

I have a little doubt, can you instantiate in some way (or something), to call a Panel, updatePanel, div from a master page from another normal page? Let me explain myself: in the master page I have an updatePanel (inside a panel) with a smal...
asked by 21.02.2017 / 14:05
1
answer

What strategy to use to create Offline application [closed]

I made an ASP.NET web application (c #) for a mining company where: they enter daily work data and the application generates online reports. It has a login, account creation, etc. This application is used in an office with an internet connect...
asked by 12.06.2017 / 15:39
1
answer

asp.net how to change the SVG image in html page from the codebehind

I need to change the image (SVG) that is on the page in a object container by selecting another item within dropdownlist. It has to be in the CodeBehind, using the OnSelectedIndexChanged event. By default it loads the image.svg, but when selec...
asked by 12.02.2017 / 19:54
1
answer

How to know if a Web Service is Available

Good afternoon, I would like to be able to verify if a web service is available, as well as it would be a ping to a url, I have this method, but it falls when putting the url of some web service. Ping pings = new Ping(); int ti...
asked by 09.01.2017 / 21:06
2
answers

How to delete files in memory left by the MemoryStream, with C #?

It turns out that I use MemoryStream to read a file with ReadToEnd in the following way: IEnumerable<uint> uids = Client.Search(SearchCondition.Unseen()); IEnumerable<MailMessage> messages = Client.GetMessages(uids, F...
asked by 29.12.2016 / 14:41
2
answers

Load data in Textbox from Gridview

I want to load data from a row that when I select it by means of a button, I upload it in a format. For this I am doing it with the CommandName, as if they were coordinates, if you click on such a row it will load this data and so on for all....
asked by 15.12.2016 / 20:07
1
answer

Take tag from the master page from another .aspx

How do I do it so that I can take a tag from the master page and put it in hidden by means of a .hide (), when a user logs in? To verify the logeo I use c #, something of this style: if (usuario.nombre==Login.text){ ClientScript.RegisterStart...
asked by 13.12.2016 / 01:57
1
answer

WebAPI ASP.NET Error 404 when using GET / api / controller?

I have problems trying to fill a table using AJAX / JSON. To obtain the data I use as url /api/controlador . I've already added the .json extension and from what I understand, the problem is that the url that you are trying to access is...
asked by 15.02.2017 / 18:01
2
answers

Filling gridview with stored procedure

I am trying to fill a grid with data of sp I'm working with data, business and presentation layer This is where I call the business and then bring the data from the data layer (the sp ) BuscarListaPersonal(); the HTML...
asked by 14.12.2016 / 21:49