Questions tagged as 'asp.net'

1
answer

How to update hosted ASP.NET site in Locaweb

I have a website running 4 years ago on a client of mine. The site was developed in VB.Net, and Locaweb migrated its servers from Windows 2003 to 2008 and consequently changed the Trust Level from Full to Medium and the following error app...
asked by 21.05.2015 / 00:18
0
answers

Questions about Forms Authentication ASP.NET [closed]

I have an ASP.NET project and need to insert a user control to limit access to the pages. There is already a table in my bank with Login and Password, I found some tutorials that explain how to use Forms Authentication but I do not quite under...
asked by 21.05.2015 / 16:33
2
answers

How to check if Eval has null value?

I'm using the Eval property to load a field from the GridView instantiated of an object, the problem is when the object has no value, instead of being blank I wanted to show a trace indicating that nothing was found. The code I'm using...
asked by 29.06.2015 / 17:07
1
answer

Creating Dynamic Controls in ASP.Net

I'm looking to create a component for a default master record. In the project I'm developing, I'm using Web Forms, where I have my masterPage with the site layout (menu, header, and footer). But to facilitate future maintenance, I created a clas...
asked by 11.09.2014 / 16:12
1
answer

Gridview inheriting properties

In all my grid's I have to set many properties, I would like to know if there is any way to set properties only once in a single place. Grid example:     
asked by 27.08.2014 / 22:02
3
answers

Asp.net MVC Session ends

I have an ASP.NET MVC 4.0 application on a KingHost server. In my web.config I do the following: <sessionState timeout="1000"></sessionState> <authentication mode="Forms"> <forms loginUrl="~/Logi...
asked by 10.07.2014 / 03:10
1
answer

How to give a postback in the asp.net page with Javascript or Jquery

Today I have a function that calls the toggle method when I click on the tag it displays the panel in ASP.NET containing a dropdownlist and a gridview. I need every time I click the tag again in this case to close, give a post on the dropdownlis...
asked by 02.06.2015 / 19:22
2
answers

Getting the full path of a client file in ASP.NET

On the server side, is it possible to get full path of a file sent by a client using the <input type="file"> tag? For example, if the user sends the file C:\Users\Documents\a.txt , does the server get the string C:\Users...
asked by 13.05.2014 / 22:03
2
answers

How to close connection to the Firebird database

I'm trying to create a web application in ASP.NET C #, but I'm not sure how to do it. p> string conDDNS; FbConnection conexaoDDNS; protected void Abrir_Fechar_Click(object sender, EventArgs e) { try { this.conD...
asked by 12.02.2016 / 19:49
2
answers

Two parameters with String.Format in an asp: HyperLink

I would like to send the parameters (ID of the database, ClientID) to a <asp:Hyperlink . I wanted the final result to be: <a id="ctl00" onclick="OpenModal(704520,'asdf_ID_DaImageAbaixo')"> <img id="ID_IMAGE" src="../onlin...
asked by 13.03.2014 / 16:43