Questions tagged as 'asp.net'

1
answer

Get nullable variable DateTime serialized in WCF service responses

I have a WCF service with a nullable DateTime variable in a DataContract as shown below. Because of business rules this DataMember can not have the EmitDefaultValue set to true and the type must be DateTime? [DataContract (Name = "D...
asked by 07.05.2015 / 18:56
1
answer

Store List in ViewState

I want to build a list of strings and save them to a viewstate, and use them later. Ex List<string> listaNomes = new List<string>(); foreach(var algo in TesteList) { listaNomes.add(algo.id); //salve essa lista em ViewState } I'm...
asked by 12.03.2015 / 19:03
1
answer

ASP.NET WEB FORMS Remove a p and its contents from a DIV

I have several DIVS that contains a < p > & nbsp; < / p & gt ;. How do I remove this paragraph with space in CodeBehind? (Without using JS or JQuery)     
asked by 12.03.2015 / 15:34
0
answers

UpdatePanel does not update

I have the following updatePanel: <asp:ScriptManager ID="ScriptManager1" runat="server" ChildrenAsTriggers="true" > <Scripts> </Scripts> </asp:ScriptManager> <asp:UpdatePanel ID="panelTreeVi...
asked by 20.02.2015 / 14:16
0
answers

Change context to receive information from the database

I've got a project of a filemanager, which uses handler and it uses examples listing the directories and files of the project itself, I put an example listing directory that already works, however I can not do the same for file: namespace File...
asked by 23.02.2015 / 14:00
1
answer

Use ItemCommand in C # of a listview

I'm working with a ListView where you display the items in a cluttered list and as links . Under ListView has the "CREATE" button to insert a new item in ListView . I was able to make, when I edit any list item by click...
asked by 10.02.2015 / 19:09
0
answers

Multiple simultaneous sessions in ASP.net

I'm having a problem getting multiplus concurrent users in an ASP.net web app with C #. When soon with another user the previous session is overturned. Can anyone help me? How do I get all the sessions authenticated and active independent of eac...
asked by 14.04.2015 / 13:58
0
answers

Consume file upload service

I have basically a service in C # that was made to receive a file, what I want is to use this service, I created an asp.net page with a fileUpluod, and wanted to put it to work, how do I do it? > Class of Service: public class UpluodServic...
asked by 05.02.2015 / 18:38
0
answers

Error Handlers ASp.Net

I need help with the item below. The error is occurring when trying to run a Web Site project in VB.Net. I have two in the same solution , one wheel and the other appears this error. It is a project of the company that works, it was not me w...
asked by 28.03.2015 / 15:55
0
answers

Problems with ScriptResource.axd and ASP.NET version 4.5

Previously my project was of the WebForms type and used version 3.5 of the .NET Framework. But I converted it to the Web Application and updated the framework to 4.5, and some functionality that did not previously have problems just does not exi...
asked by 30.03.2015 / 22:39