asp.net-4.0 Questions

3

Solved

I have a GridView control which shows a list of all employees. When user selects any employee from this list, the record is shown on a Web Form with all input controls pre-filled with the values. ...
Caridadcarie asked 6/7, 2012 at 8:26

1

Solved

My MVC application currently uses the Global.asax, Application_Start method to load tons of data, and then exposes it as collections. For example: Current Usage Example: // Global.asax public st...
Coastguardsman asked 17/7, 2012 at 0:43

1

Solved

I have a library project that should be the base for several web applications. I am trying to implement System.Web.Security.MembershipProvider but for some reason Visual Studio cannot find it. It m...
Selectman asked 22/6, 2012 at 17:25

0

I'm new in ASP.NET and I'm making a WebSite that gets data from a database through an ODBC. I've the connection string in the Web.Config and I don't like it. If someone gets the Web.Config they ca...
Imperception asked 29/5, 2012 at 15:10

1

Solved

I was writing code in Page_Load and I used IsPostBack in the first place but then I came across with IsAsync and IsCallback properties. I started to think and they look like somewhat the same. From...
Affirmation asked 22/5, 2012 at 20:52

2

Solved

I want to generate a unordered list which contains tag for showing images in my database, I take a look at bulleted list, but it is not working with image. How can i dynamically generate it from th...
Presbyterial asked 14/5, 2012 at 7:6

3

Solved

I'm looking to generate unique ids for identifying some data in my system. I'm using an elaborate system which concatenates some (non unique, relevant) meta-data with System.Guid.NewGuid()s. Are th...
Aged asked 18/4, 2012 at 20:32

3

Solved

I have implemented URL routing in ASP.NET 4.0 using following route. routes.MapPageRoute( "NewsDetails", // Route name "news/{i}/{*n}", // Route URL "~/newsdetails.aspx" // Web page to handle r...
Suckling asked 19/8, 2010 at 15:15

1

We have a stored procedure that is called about 300,000 times per day by 15 users throughout the day. I have poured through every line and it is about as efficient as I can get it. The stored proc...
Hyphen asked 5/12, 2011 at 22:25

2

Solved

Why does this code: MailMessage mm = new MailMessage(); Throw this exception: System.Security.Cryptography.CryptographicException was caught Message=The handle is invalid. Source=mscorlib Stac...
Aubade asked 7/3, 2012 at 22:58

3

Solved

I need to write a server side function to sanitize URL encoded strings. Example querystring: FirstName=John&LastName=B%F3th&Address=San+Endre+%FAt+12%2F14 When I pass that through HttpU...
Norling asked 20/1, 2012 at 20:1

2

Solved

We've recently updated a fairly large ASP.NET website (~1500th alexa traffic ranking) to use VS2010 and .NET 4.0 running on Windows Server 2008 R2 Since then, when we deploy new versions of the si...
Customary asked 13/10, 2011 at 20:3

2

Solved

I need to process a form full of all sorts of different search controls, however these search controls are now inside a master page and so the id's were getting extra junk added in ('ct100$Body$Tex...
Nonnah asked 26/10, 2011 at 0:27

2

Solved

I have used threading in my web application which I have mentioned below: var t1 = new Thread(F1); t1.IsBackground = true; t1.Start(); var t2 = new Thread(F2); t2.IsBackground = true; t2.Sta...
Loupe asked 25/10, 2011 at 22:39

2

Solved

I have found a lot of good information with regards to getting browsers to avoid caching dynamic content (e.g. .aspx pages), however I have not been successful with getting browsers to cache my sta...
Eulaheulalee asked 23/9, 2011 at 8:43

1

Solved

I am implementing a Custom Identity class for an ASP.Net 4.0 site with Forms Authentication based on this tutorial: Forms Authentication Configuration and Advanced Topics I would like to store ext...

5

Solved

I googled this topic and I came across with three different ways to configure browser capabilities: browscap.ini, browserCaps element in web.config and .browser files in App_Browsers. I thought .br...
Obadiah asked 4/3, 2011 at 9:56

1

Solved

What is the best way to pre-compile a asp.net4 mvc3 website with all its view files using visual studio 2010? I'm a little confused because MS provides multiple solutions that sound very similar. ...

3

Solved

The subject pretty much says it all. I have an EstateReport web form that must be called with an EstateId request parameter. I want to return an appropriate HTTP error if this parameter is not pres...
Coquelicot asked 23/8, 2011 at 19:23

7

My ASP.NET application runs in IIS on my web server and uses Microsoft .NET Framework 4 Beta 2. (Its Application Pool is set to .NET Framework version .NET Framework v4.0.21006.) It gives this new...
Geodesy asked 2/12, 2009 at 22:44

2

Solved

This only references requirements for clients: http://msdn.microsoft.com/en-us/library/8z6watww%28v=VS.100%29.aspx I am looking for similar documentation in reference not just for .NET 4, but ASP....
Soloman asked 1/7, 2011 at 21:41

2

Solved

I upgraded my project to ASP.NET 4 RTM with ASP.NET MVC 2.0 RTM today. I was previously using ASP.NET 3.5 with ASP.NET MVC 2.0 RTM. Some of my routes don't work suddenly and I don't know why. I'm...
Uphill asked 13/4, 2010 at 3:28

3

Solved

Is Web.config's appSettings section only capable of storing simple strings like this? <appSettings> <add key="OKPage" value="http://mysite.com/okpage.html" /> </appSettings> ...
Lead asked 9/6, 2011 at 6:33

3

Solved

In a WCF Service, I need to create a variable which should be accessible anytime from anywhere. All methods of my service need to have access to that data and I can load it only once. So I though a...
Halley asked 26/5, 2011 at 16:58

2

I have a custom Data Validation Attribute I've created to make sure the passwords a user inputs are the same, but IsValid is never invoked. Custom attribute: public class IsSameAsAttribute : Val...
Cloninger asked 29/6, 2010 at 21:33

© 2022 - 2024 — McMap. All rights reserved.