asp.net

Mock MVC Site, an Outline for coders to see functionality and to start coding.

I have to setup an MVC project to house all the HTML documents. This would be like a hierarchical structure using routing. The pages don’t have to function, just act as placeholders. It’s really just for the group to see all the HTML Pages to get an Idea of functionality. Then we would back fill groups of pages with the functionality by...

Where exactly does Forms Authentication exist in the Http Pipeline?

Where exactly does Forms Authentication exist in the Http Pipeline? ...

nHibernate, an n-Tier solution + request for advice

I'm getting the chance to develop a mildly complex project and have been investigating the various approaches that I can use to tackle this project. Typically I would have ran with the traditional 3-Tier approach but after spending some time looking around at various options I've got an inkling that some kind of ORM might be a better fi...

Enterprise Library - validate blank spaces " "

Hi, how do I deny blank spaces (" ") using Enterprise Library validation? [StringLengthValidator(1, RangeBoundaryType.Exclusive, 100, RangeBoundaryType.Inclusive)] allows them. Thanks. ...

Can we buy Collaboration functionality for ASP.NET?

We are working on a unique eCommerce site. This site is distinctive because when a purchase is made its not made by one person, but a group or "Collaborative" decisions. Individuals can add items to the shopping cart, but in the end the purchase is decided by the group in a “Collaborative” effort or Team Effort. So each team member is g...

Setting UI control properties from delegate function invoked in another class.

I have a ASP.NET web form that implements a wizard using a simple state machine, defined in another class and stored in a session variable. The functions to be executed when different states are reached are defined in the web form class, which passes a delegate array to the state machine during initialization. When the state machine ar...

Log4Net for ADOnetAdapter..for my asp.net mvc application

I am using log4net code found at: http://logging.apache.org/log4net/release/sdk/log4net.Appender.AdoNetAppender.html How do I write the code behind to insert the information in to the table? ...

jQuery UI Sortable error (cannot call methods on sortable prior to initialization)

Hi, Sorry to bother anyone with this but about to go mad. Using jQuery UI Sortable with a nested list. Loading the nodes of the "tree" dynamically, so have a button which 'loads node' (similar to ASP.NET TreeView) - when this button is pressed and the node is loaded, I want to either "refresh" or "destroy" then re-initialize the sortabl...

How can I use Html.TextAreaFor() methods in my custom HtmlHelper?

I'm building an ASP.NET MVC 2 website and right now, I have ugly spaghetti code in my view which I would like to make into a custom HtmlHelper. The current code in the view is : <%switch (Model.fiFieldTypeID) %> <% { case 1: // Text area Response.Write(Html.Encode(H...

Is it wise to mix ASP.Net MVC development and ASP.net web form development in the same group of products?

We have a largely asp.net web form team (With some Oracle developers thrown in). Question 1: Is it a good idea to start using asp.net MVC which will mean redevelopment of a number of standard controls for not much benefit. Question 2: Is it a good idea to hire developers where there most recent skills are with asp.net MVC? What are ...

Selection Sort - Stack Overflow

Hi I am trying to implement Selection Sort in vb.net using recursion. Problem is that I keep getting stackoverflow if the array I want to sort is 1000 elements. I can't find the problem. I don't know much about stack overflow or how to check it. From my research the problem could be infinite recursion but I check for that and exit the su...

Popup issue with TargetControlID

Hello, I am trying to get a popup after saving some data into the database. When using the ConfirmButtonExtender and ModalPopupextender, it asks for TargetControlID. So i have given TargetcontrolID as Submit button. So whenever the submit button is clicked, it shows the popup first saying "your password is successfully saved". After you...

ASP.NET UnauthorizedAccessException

We have an intranet production server running in a virtual environment, which we cloned to make a development server. The computer name and IP are changed and everything is running fine. There is a shared folder on the production instance, which we reference from the development server because everything is readonly. I can visit the s...

catch SelectedIndexChanged event of Accordion control in ASP.NET AjaxToolkit

I have an Accordion control that is populated dynamically. I want to catch the event raised when a new pane is clicked on to open. I don't see the event at all in intelli-sense and when I code it by hand anyways I get errors. Is there any way to catch this event? The goal is to let a control in the masterpage that is holding the Accord...

Gridview Update changing my update parameter?

Hi all, I have a Gridview where I can modify the Time portion of a DateTime field. The update method is working well, except for one thing: The field should only allow the time portion, e.g 08:23:09 but on the Database it saves it as a full DateTime, e.g 10/18/2010 08:23:09 AM. The problem is that upon editing, instead of adding the ex...

Setting default Asp.Net Session memory consumption?

Hello Some while ago I found a web page explaining the default size of a session was 2048 kb, the minimum was 1 kb. How can this be adjusted? And if some one has links regarding the subject I would be a happy camper :) Sorry not for mentioning the IIS, but it is 7.0 Cheers ...

Can't find microsoft.sqlserver.batchparser.dll

I wrote an asp.net web app which uses SMO against SQL Server 2008 to be able to run some DB scripts. It references these assemblies (in the C:\Program Files\Microsoft SQL Server\100\SDK\Assemblies folder): Microsoft.SqlServer.ConnectionInfo Microsoft.SqlServer.Management.Sdk.Sfc Microsoft.SqlServer.Smo The microsoft.sqlserver.batchpar...

Two app instances, same Relying Party in AD FS 2

I currently have a copy of the app deployed to my local IIS as debug.wifclientapp.com and it will go to the ADFS server to authenticat but when it redirects after successful authentication it goes to www.wifclientapp.com which is the test instance on a remote server. I setup the test instance first. How can I get it to redirect back to...

Javascript template disappears on clicking any control.

I have used the Javascript Menu template from Sothink and embedded it in my Master Page. Now when I click on any control of a form like a Radiobutton or a Linkbutton, etc. the Side Javascript Menu disappears. I don't understand why. Initially it shows but later disappears on clicking a redirecting control. Can anyone help me correct ...

Is it possible to override the relative path ~/ throughout my web application?

Back Story I am currently updating an existing web application to support a multi-tenant environment. Today we current host an application on http://www.example.com/MyApp, but now we must be able to support multiple clients on the same web application. So each client should be able to access the application through urls like: http://...