Questions tagged [asp.net-4.5]

Refers to the version 4.5 of the ASP.NET web application framework introduced with the .NET Framework 4.5

Refers to the version 4.5 of the ASP.NET web application framework introduced with the .NET Framework 4.5

616 questions
3
votes
3 answers

Dynamically generate page linkbuttons for the PagerTemplate of a GridView

From the MSDN page for the PagerTemplate of the GridView control (emphasis mine): Typically, button controls are added to the pager template to perform the paging operations. The GridView control performs a paging operation when a button control…
Steven Liekens
  • 13,266
  • 8
  • 59
  • 85
3
votes
1 answer

Style not applied on Win7 x32 (.Net 4.0)

We use own styled image buttons. On our developer computer (all Win 7 x64 VS 2013) works all well. Also on customer computers with Win7 x64 .Net 4.5.x. On the test computer with Win 7 x32 .Net 4.0 the image buttons have the standard style of the…
WebDucer
  • 1,114
  • 2
  • 16
  • 39
3
votes
0 answers

Are there any changes in floating point math from .NET 4.0 to .NET 4.5

Sorry if this is a repeat, but this is killing me and most of the .NET 4.0 vs 4.5 articles I find degenerate into screaming contests so I figured I would ask here. Basically did they make any changes to floating point arithmetic from .NET 4.0 to…
3
votes
1 answer

Page.AsyncTimeout - endless timeout?

I saw an example of forever iframe implementation ( comet simulation ) , so I decided to test it but with the addition of asynchronous approach , so that there will be no blocking. Pretty simple : I have a page (index.html) with hidden iframe…
Royi Namir
  • 144,742
  • 138
  • 468
  • 792
3
votes
1 answer

ASP.net Bundle.config VS BundleConfig.cs

I have created a new ASP.NET 4.5.1 web forms project. I have used bundling & minification in MVC 4 previously. Why is there a bundle.config file in the root - and a BundleConfig.cs file in App_Start - that both appear to list files to be…
niico
  • 11,206
  • 23
  • 78
  • 161
3
votes
4 answers

Why Cast (CType/DirectCast) controls versus implicit conversion

Suppose I have a control within a webforms GridViewRow... Within the RowDataBound event I can access the control using any of the following methods. I've always used DirectCast historically: Protected…
EvilDr
  • 8,943
  • 14
  • 73
  • 133
3
votes
1 answer

Error occurring - System.InvalidOperationException: Validation of Anti-XSRF token failed

We are building an application using ASP.Net 4.5 and Visual Studio 2012, the master page included Anti-XSRF code. That code was there when we started working with the application in VS, we wanted to leave it as it seemed helpful to keep. However…
Paritosh
  • 4,243
  • 7
  • 47
  • 80
3
votes
1 answer

How to upgrade MVC 3 project to .NET 4.5 [NOT to MVC 4]

How to upgrade MVC 3 project to .NET 4.5? Which assemblies should I update? I've change v4.5 but still it's not enough.
Marcin M
  • 365
  • 2
  • 11
3
votes
1 answer

Possible to downgrade/rollback .NET 4.5 runtime?

I was wondering if there was a way to rollback or downgrade the .NET 4.5 runtime back to .NET 4.0. I am not talking about rolling back projects that are targetting 4.5 and bringing them back to 4.0, I am wondering if I upgrade the .NET framework to…
Brian David Berman
  • 7,514
  • 26
  • 77
  • 144
3
votes
1 answer

httpRuntime targetFramework="4.5" causes 500 - Internal server error

I am converting mvc4 project, 4.0 to 4.5 I need to add the folowing line to system.web in web config, but when I do, I get 500 - Internal server error
user1615362
  • 3,657
  • 9
  • 29
  • 46
3
votes
0 answers

Receiving an error using URL Routing with built-in WCF Router Service

I wanted to create an extension less (file-less if possible) router endpoint via WCF Router Service that has customer user/password security policy. I am getting the following Fault Exception when attempting to route SOAP messages through…
Roman
  • 1,177
  • 1
  • 17
  • 25
3
votes
3 answers

Async in 4.5: Cancellation and Timeout

I have a long running process inside a HTTPHandler that I asynchronously perform using Async Await .net 4.5 This works perfectly as expected... How can I add a timeout so that the string 'timeout' is returned if the process takes too long? Protected…
George Filippakos
  • 16,359
  • 15
  • 81
  • 92
3
votes
1 answer

What is the best way to create "dynamic objects" in vb.net webforms

I'm not sure i'm asking this question correctly as i'm still kinda new to this... But what i'm trying to learn how to do (if possible) is to create a serializable class object with user data (name, address, phone, etc). For my project, i'm…
RandomlyOnside
  • 436
  • 1
  • 9
  • 22
3
votes
2 answers

HttpContext.Current.User is null after installing .NET Framework 4.5

I was using .NET 4.0 VS10. I had working WCF services that were using forms authentication. I upgraded to VS11, .NET 4.5. Now my HttpContext.Current.User is null, in a wcf request. I injected a cookie from login to this…
taminov
  • 591
  • 7
  • 23
3
votes
2 answers

ASP.NET MVC 2 site issues when updated IIS7 to .NET 4.5

I have a web app running ASP.NET MVC 2 along with other sites (using ASP.NET MVC 4), updated IIS7 to use .NET 4.5 and my MVC2 app stop working properly: Issue: (blocker) There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler'…
JOBG
  • 4,544
  • 4
  • 26
  • 47