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
0
votes
1 answer

Restrict multiple edits on any objects, c# 2012

I have many objects like Pg, Layout, SitePart etc., Multiple users can edit these objects and can save them back to Data base. However at a time only one user can save the changes to DB, and let the other users wait until the member completes his…
mmssaann
  • 1,507
  • 6
  • 27
  • 55
0
votes
2 answers

Entity Framework 5, MVC 4, Code First - Persisting a List in a class

My solution should work well with: ASP.NET MVC 4, EF5, Code First, Visual Studio 2012 Express, SQL Server 2012 Express. I need to store many tags with a place object. In another question it was suggested I use a List to achieve this: asp.net MVC 4,…
niico
  • 11,206
  • 23
  • 78
  • 161
0
votes
1 answer

Content in my local resource files seems to be cached

I have a webpage where I uses the App_LocalResources files, where I've translations for 2 languages. This works really well. However, when I open my two pages I get a pretty strange problem. If I open the English version, my Danish URL is also…
Lars Holdgaard
  • 9,496
  • 26
  • 102
  • 182
0
votes
1 answer

How to change the URL that securitytrimming will redirect the user to?

I have menu items Home, About, and Contact. I only want Home to be accessible by Anon users, and About/Contact to be accessible by authenticated users. This works great using a Sitemap and using SecurityTrimming. My issue is that it seems when an…
Josh McKearin
  • 742
  • 4
  • 19
  • 42
0
votes
0 answers

Update Panel not working properly causing full postback

I have moved to visual studio 4.5 and at first my update panels worked just fine but one day they just seemed to stop altogether even if I start a new project. Code Behind: public partial class TestPage : System.Web.UI.Page { protected void…
AndrewBrntt
  • 1,152
  • 11
  • 21
0
votes
1 answer

SelectMethod get data from a parent control

I'm using .Net 4.5, model binding and currently have a repeater, which contains another repeater.
Paritosh
  • 4,243
  • 7
  • 47
  • 80
0
votes
1 answer

Is there a way to build a lazyload path from one table to another?

I have two class for my EF code first site and I can use lazyloding to go from the class Section_Translation to the class Section (i.e. Section_Translations.Section.XXXX) but I can not go from Section to Section_Translation (i.e.…
user1365911
0
votes
1 answer

AjaxControlToolkit 4.5 - Getting the Requires 4.0 Error Message Again

Here we go again. Using the latest April 2013 edition of AjaxControlToolkit 4.5 and I've done all the typical things we've seen over the past 6 months of getting it to work in our 4.5 projects. (changing the script manager, adding ajaxtoolkit to…
Indy-Jones
  • 668
  • 1
  • 7
  • 19
0
votes
3 answers

WHERE clause in LINQ statement that pulls specific match or everything if no match found

I am trying to write a LINQ statement that will pull all the items from a table where the column Type matches what the user selects in a dropdown menu but if no matches are found then it returns ALL the items from the table regardless of the Type. I…
user1365911
0
votes
3 answers

Extend Entity Object to include a calculated property

Let's say I have an Entity Object 'Jewels' that has the properties 'Name' and 'Birthdate'. I want to implement a LINQ query that returns an object that has 'Name', 'Birthdate' and 'Birthstone'. So I extend 'Jewels' like this: public partial class…
Jazzy
  • 519
  • 9
  • 31
0
votes
1 answer

PayPal Integration - what options are recommended

We have an ASP.NET web site containing a product catalogue. We have now been asked to add on shopping cart and payment functionality. However, as this is a trial, it needs to be cost free (as far as reasonable) and there is no SSL certificate…
EvilDr
  • 8,943
  • 14
  • 73
  • 133
0
votes
1 answer

Repeater markup not databinding in my link

I've tried to find a solution online, but I couldn't find any. However, it's probably easy to find if you know what to search for. Anyway, I have a ASP.NET repeater like this:
Lars Holdgaard
  • 9,496
  • 26
  • 102
  • 182
0
votes
0 answers

asp.net routing error page

Does anyone know what the best way would be to deal with error pages using ASP.NET (not MVC) Routing? I have routing set up and working well, however if I visit a page which does not exist i get the standard 404 error page. I would like to know if…
thatuxguy
  • 2,418
  • 7
  • 30
  • 51
0
votes
1 answer

Textarea not rendered for DataType.MultilineText

I have an EditItemTemplate within a ASP.NET 4.5 Web Forms FormView. I've set an ItemType on the FormView so I'm using DynamicControls to display and edit fields.
0
votes
2 answers

Windows Identify Foundation: 2 tokens based on different certificates being recognised by R.Ps

For technical reasons we have implemented two different STS websites in our application. These STS issue tokens which are based on different certificates. We have a main application and a subset application and each are configured to use and trust…
John Mc
  • 2,862
  • 1
  • 22
  • 37