What is the best way to organize the files in your project?
For example do you put all user controls in a separate folder or do you place them in a sub folder? Do you have business logic folder? A helper classes folder?
I used to organize my projects like this:
Project/User Controls/Module Name/
Project/Classes/Module Name/
Now I ...
Hi there.
I'm using Visual Studio 2008.
I have a web project. Its running correctly on my local machine. I'm publishing it on the server and when I click a link which is on the Web.sitemap it is not redirecting and I see on the url:
....com/rapor/GenericErrorPage.htm?aspxerrorpath=/rapor/CinsiyeteGoreHastaSayisi.aspx
and the browser ...
I'm taking my first baby steps into consuming web services. Here's my situation:
I'm writing in .NET 3.5 for an existing corporate intranet website. I need to add a call to a web service, passing account data and getting a response.
I am able to add a web reference to the .wsdl file and have Visual Studio generate the Service Referen...
I would expect this:
<asp:CheckBox ID="CheckBox1" runat="server" CssClass="myClass" />
<asp:RadioButton ID="RadioButton1" runat="server" CssClass="myClass" />
<asp:TextBox ID="TextBox1" runat="server" CssClass="myClass" />
...to render like this (with some attributes removed for simplicity):
<input id="CheckBox1" typ...
I understand that in IE 5.5, 6, and 7, when you modify a DOM element before it is 'closed', it throws an "operation aborted" error (this article has more information: http://www.clientcide.com/code-snippets/manipulating-the-dom/ie-and-operation-aborted/)
In my ASP.Net application, I am registering a client script block on the page durin...
I've been racking my brain trying to get this to work. My event for my LinkButton isn't firing. I'm figuring that it has SOMETHING to do with ViewState and that the button is not there when it tries to fire the event after the Postback or something.
When I click the Add button,it adds the link to the page and then when I click the D...
So, newbie NHibernate user; trying to wrap my brain around it.
I'm contemplating how to handle deployment, and later injection of add-ons to a web app (which may require their own persistence classes).
I was thinking that using SchemaExport for the deployment would work pretty well, but I was wondering if there's a way too get NHiberna...
I´m developing an ASP.NET Web Application and want to use the ASP.NET Routing Engine (System.Web.Routing) with it.
My Application works fine in Cassini, but when I start it in IIS7 (Integrated Application Pool, of course) I always get an error on this line:
User.Identity.IsAuthenticated
What could be the reason for this? Is there an...
I have an extension to this question:
http://stackoverflow.com/questions/183093/vb6-tag-property-equivalent-in-asp-net
The solution to that is excellent, but I want to be able to set the Tag property at design time within the aspx file, ie:
<asp:TextBox id="myTextBox" Tag="thisIsMyTag" .....
Note: I do not want to inherit and exte...
Hello
How do I write out my array with a repeater?
string[,] month = { {"Januari", "Februari", "Mars", "Apri", "Maj", "Juni", "Juli", "Agusti", "September", "November", "Oktober", "December"},
{"01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"}
};
Now I can use Container.Data...
Is there a way to programmatically set the name of a file to be uploaded from a web page? I suspect that browser security restrictions make this impossible, but I'm hoping someone will prove me wrong.
I have a web application that needs to let the administrator upload HTML. The admin selects the HTML file, then the app uploads that fi...
We are currently trying to improve our usability in our intranet web app. One of our goals is to declutter certain pages which have large Grids on them. To do this, we have started putting commonly used actions (like Delete, Reset To Zero, Mark As Complete, etc.) in the grids as functions.
My initial idea was to find and use icons (...
I have an aspx page which is checking Request.IsSecureConnection to ensure it is true, if not it does a redirect to the the secure page at https://www.domain.com/page.aspx.
The server has an SSL cert installed for the domain, and the browser shows the padlock icon.
The same code ran fine on a different server, but now Request.IsSecureC...
I tried to set the parameter value to system.dbnull.value but got some errors.
thanks.
...
I'm trying to debug some resource leaks - oracle connections specifically.
On my local machine, as I step through the Page_Load(), I can see the connections created in the db by monitoring v$session.
As soon as I step out of Page_Load, all the connections are closed.
Same code running on the dev server (W3k, IIS6) does NOT release the...
Okay, this seems like a very simple issue, but I can't seem to get around it. I am almost 99% sure that this is an issue of Visual Studio itself, but I want to have a quick sanity check.
I am creating a custom provider for Health Monitoring in Asp.Net. I have made a very simple provider that inherits from the BufferedWebEventProvider....
I need a simple server-side scripting solution for the following problem:
My client has me making a site in ASP.NET MVC. I'm coding the whole site but there's a section they want to be able to expand later via simple scripting. For example:
When is your birthday?
__/__/____ [x] Don't display the year
This needs to take a title (...
Hello
I am running a asp.net website with .net 3.5 on iis6 on windows server 2003 32-bit.
I have observed some strange exceptions lately that is related to (what it looks like) internet explorer removes html code.
For example, this html code
<head>
<link rel="stylesheet" type="text/css" href="stylesheet.js" />
</head>
<body>
some...
I have multiple objects that inherit from a base class and am trying to decide how the user should edit them. There are many common fields and a few fields that only apply to each sub class. Is there a design pattern to address this?
I was thinking I could have one web page for each one or I could have a single web page and show/hide th...
We have an ASP.Net Web Application that is running in an IIS Web-Garden--which is configured to allocate up to four processes. In our Web Application the first user that hits the site causes the loading of all of the cached items. Since we are running in a IIS Web-Garden it ultimately takes up to four first time users to build up the cac...