asp.net-4.0 Questions

3

I am trying to upgrade an ASP.NET application to .NET 4, but one page on my site contains an exception: Argument Exception: an entry with the same key already exists". What is different about ...
Ribbentrop asked 29/12, 2010 at 12:39

6

Solved

.Net 4.0 is encoding single quotes when I am using Attributes.Add to add client side events to my asp.net objects. In the previous versions this didn't happen. for example : <asp:Image runat="...
Quidnunc asked 6/8, 2013 at 9:7

2

Solved

I have developed a Web API, I can access my api by using HttpClient in .NET 4 and 4.5 but I want to access this api from an existing .NET 3.5 application. Is it possible? I have learned from intern...
Unthankful asked 22/12, 2014 at 12:11

3

I have installed the Microsoft ASP.NET Web Optimization Framework 1.1.3 via NuGet. It installed just fine I believe. This is a .NET 4.0 Web Forms Project. When I try to bundle I get an error. My ...
Bathsheba asked 28/5, 2014 at 20:47

1

I have been working on a new intranet site for a few weeks now, and everything has worked as expected. If I made any changes whatsoever (added raw text, new controls, etc) to my .aspx pages, and th...
Brooder asked 25/4, 2013 at 23:44

5

Solved

I have a situation where I would like to do something simular to what was done with the ASP.NET MVC 3 ViewBag object where properties are created at runtime? Or is it at compile time? Anyway I was...
Effeminize asked 26/4, 2011 at 23:46

6

Solved

The following asp.net side code of control: <asp:TextBox runat="server" ID="LimitTextBox" Text="20" ClientIDMode="Static" /> Generates such HTML-code: <input name="ctl11$ctl00$ctl02$Te...
Yell asked 12/12, 2010 at 22:31

2

Is it possible to disable the browserCaps functionality in ASP.NET? I wish my site to be served reliably and exactly as I have it defined to all browsers regardless of their capabilities. If th...
Henpeck asked 6/10, 2010 at 12:48

3

Solved

I need to call a method returning a Task from within public override void OnActionExecuting(ActionExecutingContext filterContext) It wont let me make this method async it throws the following ...
Generality asked 9/8, 2012 at 16:32

1

Solved

The webpage is a simple registration type page. Each user has to fill around 200 fields. There is 1 parent table and 6 child tables. Each table info is displayed in separate AJAX tab panel and deta...
Footslog asked 12/8, 2014 at 4:56

3

This in in an ASP.NET application. Locally, this code runs fine, but on our production server, it throws an exception of 'Parameter is not valid' when Bitmap.Save() is called. Should I not be us...
Clevie asked 22/3, 2011 at 20:38

3

Solved

We have just updated our application from ASP.Net 2.0 to ASP.Net 4.0. We have included in the web.config in the <system.web> element: <pages controlRenderingCompatibilityVersion="3.5" cl...
Sneaking asked 9/6, 2010 at 16:55

1

Solved

My ASP.NET / C# web app allows users to upload MP4 files to a database for later display using the HTML5 <video> tag. What I am looking for is a way (code, component) to determine the on-sc...
Jedidiah asked 30/1, 2014 at 12:28

9

Solved

Something strange happened on my local laptop: my web site that worked locally for a long isn't launched... Trying to localize the problem I've created a simple web site with 'index.html' fil...
Delinquent asked 24/5, 2011 at 4:42

2

i use Windows XP_SP_3 and IIS 5 (local host), build site with asp.net4 and use this code: Application appClass = new Application(); Document wordDoc = appClass.Documents.Add(Server.MapPath("~&...
Larentia asked 15/12, 2012 at 9:10

1

Solved

The backend is PostgreSQL server 9.1. I am trying to build AdHoc XML reports. The report files will contain SQL queries, all of which must start with a SELECT statement. The SQL queries will have ...
Foursquare asked 1/8, 2013 at 17:36

2

Solved

I am actually migrating websites to ASP.NET 4.0, having problems with the new rendering of menu controls. My websites make heavy use of nested menus. Hover effects are used and the layout is define...
Flagman asked 17/6, 2010 at 15:33

4

Solved

Requirment: I have a drop down list on my view page, displaying a list of vendors. When a vendor is selected from the dropdown, the page displays the details of selected vendor. By default i need t...
Catiline asked 4/1, 2012 at 15:15

2

I work with Visual Studio 11 Beta (MVC3 + .Net 4.0). I deployed the project to the IIS 7.5 (MS 2008 Server), when I generate a report, I've got the following error: System.IO.FileNotFoundExceptio...

1

Hi im trying to deploy my ASP:NET Web Site on the network in Windows 7 Enterprise im getting this Error: HTTP Error 500.23 - Internal Server Error An ASP.NET setting has been detected that does no...
Karlin asked 3/6, 2013 at 12:56

1

Solved

Currently I am using this in my web.config: <sessionState mode="InProc" cookieless="UseCookies" timeout="60" /> My question is what is the difference between UseCookies and false in cookie...
Lura asked 8/11, 2013 at 11:49

2

I have a web server running Windows Server R2 Standard, and am experiencing the issue described in this blog post: http://www.hanselman.com/blog/BugAndFixASPNETFailsToDetectIE10CausingDoPostBackIsU...

3

Solved

Is there an easy way to convert a Datatable to a multidimensional string array? Maybe using LINQ? There's gotta be a better way than manually looping through all the columns/rows...
Nic asked 19/1, 2012 at 20:35

5

I am scoping out the architectural options for a project that will render live updates (like Facebook) of user activities - logins, photos, etc. Two main UI components of this are an auto-updating ...
Stutzman asked 15/2, 2012 at 15:46

6

Solved

I have a requirment to invoke a controller method from the view page. On click of the link below the method should be invoked. @Html.ActionLink(item.InvoiceNumber, "SendPdfStatement", "Invoice", ...

© 2022 - 2024 — McMap. All rights reserved.