I want to simulate the trust levels of a shared hosting environment on my development machine so that there are no nasty surprises when I come to deploy my solution.
I added this my setting the web.config:
<trust level="Medium" originUrl="*"/>
The only problem with this is that I'm getting this exception when I try to save to my dat...
hi,
I want to find out inside a webcontrol the real type of the page that is designed in Visual Studio 2008.
I can obtain the WebFormsRootDesigner, and somehow i know it is possible to get the
file path of the aspx page.
I would like rather to get the ProjectItem for that page, because it would be an overkill to have the control pars...
In my project many tables are linked to aspnet_Application table by ApplicationId foreign key. I don't want the users to view or edit it, so I'm looking for way to preset this sql table field value before the insert query is executed. I still have scaffolding enabled for this column (in order for DD to generate the right sql script) but ...
I've seen examples of producing a custom registration control which persists its information with some extra fields (or a table depending on the problem) in the corresponding Sql Server.
It's also said that there is a way to do the same thing with the Profile API (persist custom info in a registration control). Is there a walkthrough fo...
Can anyone suggest a good way to manage multiple web.config files?
For example, I have a development web.config I use on my localmachine named "localWeb.config" and then one I use for production called "prodWeb.config". I keep the .config extensions so no one can access them from the web server.
localWeb.config will for example have a ...
Apparently Microsoft provided support for this in an unofficial 'Futures' release but they have yet to release this support officially.
Does anyone know if this will be supported in ASP.NET 4.0?
More info here
http://forums.asp.net/p/1380982/2930653.aspx and http://waitink.blogspot.com/2008/06/ajax-web-parts-part-1-drag-and-drop.html
...
I want to display time starting from 8AM To 7PM With interval 15 minutes. So:
8.15AM
8.30AM
8.45AM
9AM
9.15AM
9.30AM
In a dropdownlist. Is there any built-in control in ASP.NET other than dropdownlist to display time?
...
In MOSS 2007, is there a way I can insert a piece of code I wrote to run every time I create a site from a ready made template ??
...
Are there some things I cannot do with ASP.NET MVC?
Things that are only possible with ASP.NET WebForms,
or extremely much easier with WebForms?
We consider using ASP.NET MVC for a new project.
But I wonder if there are some obvious things we will not be able to do with ASP.NET MVC when compared to WebForms, or places where we will h...
The short of it is: Is it costly to check an Application Variable such as Application("WebAppName") more 10-20 times each time a page loads?
Background: (feel free to critique)
Some includes in my site contain many links and images which cannot use relative urls due to their inclusion in different paths.
Hence these includes contain ...
Hello all,
I've always wondered what is the best way to add a new item to html-select in a website.
Yes, this may sound silly but it is a great problem from the usability perspective. I don't want the user to be taken to a new page every time they need to add new item to a html-select.
I like the way Google Reader and Gmail handle this...
I'm new to creating html pages etc - but am using VS 2008 just for the editing/intellisense capabilities.
My problem is I have a pure HTML only website (no ASP.NET) and have a fairly extensive header that has to be used in every page. It's frustrating to change the header parts of the HTML across all pages every single time it changes...
WatIn provides great functionality for programmatic access to the displayed parts of a Web page.
I want to access the head part of the page, spedifically the META tags. Watin allows me access to the TITLE, but AFAICT nothing else. There is an InternetExplorer property which allows access to ShDocVw.InternetExplorer. I suspect this mi...
is there any particular website that would make sense to use MVC versus webforms.
what would be the decision process in deciding between these options?
...
See
http://stackoverflow.com/questions/690766/vss-or-svn-for-a-net-project,
among many other similar questions.
There are a lot of options out there for ASP.Net Developers, some are total garbage and some are feature rich and pricey.
I've been using Visual Source Safe 2005 for a while when doing personal development, but only o...
Hi,
I have a number of GridView controls that I need to position side-by-side on a page. For example a GridView containing a list of items in a shopping basket, and a number of GridViews to the side showing pricing from a number of suppliers.
The columns are fixed width in the first GridView - meaning that the row height is variable d...
I am loading a LinkButton dynamically when a user clicks on another LinkButton. I am attaching an event handler to it. When the user clicks on the dynamically loaded LinkButton, the event does not fire.
From what I've been reading, I understand this is because when the page posts back the dynamically loaded control no longer exists....
Seems like both EnyimMemcached (http://enyimmemcached.codeplex.com/) and BeITMemcached (http://code.google.com/p/beitmemcached/) are popular .NET Memcached libraries. Both are reasonably active projects under development and have over a thousand downloads. Trying to figure out which one to use but found competing remarks! I did read ano...
I am using UrlRewriting.Net for url rewriting in Asp.Net 2 and IIS 5.1 (offline) and IIS 6 (online)
The application performs the following:
A url of the following nature: http://username.site.com is re-written as
http://site.com/Default.aspx?user=username
This works perfectly online. However, I would like to know how we could test th...
I want to attach to process on my iis. I don't want to force my iis configuration to my colleagues.
So how can I debug a web project, without storing its server config in the project meta data.
The options are iis or developer server, I want neither. Is there a little known hack in the meta data, outside of the UI that will just work?
...