In the app I am working on, I want to allow the user to upload static HTML pages to replace the default "user profile" MVC View page. Is this possible? That is, the user uploaded html pages will totally run out of MVC, and it can include its own CSS links, etc.
Ideas? Suggestions?
...
Hi,
I m using a dropdown to display "Location" field of a table. I want to set first item of dropdowm as "-Select Location-". I can't set tables first record as "Select" because table is stroed in xml format. And table file is generated dynamicaly.
I am currentaly using as
ddlLocationName.Dispose();
ddlLocationName.AppendDataBou...
I keep on hearing this words 'callback' and 'postback' tossed around.
What is the difference between two ?
Is postback very specific to the ASP.NET pages ?
...
Can I use Update panel in masterpage to wrap nested pages so that when browsing from one page to the other client only gets a partial refresh (MasterPage doesn't get reloaded).
If so - how? Do I Just put an update panel around the ContentPlaceholder in the Master Page?
Any help appreciated!
...
Hi folks,
when a System.Web.HttpResponse.End() is called a System.Thread.Abort is being fired, which i'm guessing is (or fires) an exception? I've got some logging and this is being listed in the log file...
A first chance
exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll
12/14/2008 01:09:31::
Error i...
I was wondering if anyone knows of a quick way or if anyone has written a reflection tool to tell which objects in a solution are not marked as serializable. I'm switching a site over to a StateServer and i need to have all objects marked as serializable. I don't want to miss any.
Also, second part do enums have to be serializable?
T...
I've worked with a few of these in the past, but I'm looking for a good, reliable and extensible data class for ASP.NET 3.5, that I can adopt and extend for future projects.
I'm not looking for LinQ, and I don't want anything which won't be a source-code level solution.
Ideally, it also won't be heavy.
Simple.Best Practices.Easy to Imp...
I get the above error whenever I try and use ActionLink ? I've only just started playing around with MVC and don't really understand what it's problem is with the code (below):
<%= Html.ActionLink("Lists", "Index", "Lists"); %>
This just seems to be a parsing issue but it only happens when I run the page. The application builds perfec...
Hi Guys,
I am using MS AJAX ASP.NET Components (Calendar Extender) and I'm finding this problem.
Some weekdays are not being displayed....
I uploaded a picture so you can view exactly how it is being displayed...
The one on the right (calnder) in the picture is taken from microsoft's sample.
Have you got any idea what is causing thi...
I'm curious as to the exact conditions that cause an application to be Just In-Time Compiled?
I think we all know the first visit to a non pre-compiled site will cause a JIT.
What about throwing new code into the App_Code directory?
I'm pretty sure some actions like saving the web.config simply cause the cause the Application Pool to ...
I found the following code to create a tinyurl.com url:
http://tinyurl.com/api-create.php?url=http://myurl.com
This will automatically create a tinyurl url. Is there a way to do this using code, specifically C# in ASP.NET?
...
Perhaps this is a naive question. In my understanding, ASP.NET cannot work with ViewState and Postback which is fundamentals of ASP.NET forms. Is that correct?
If that's it, then all ASP.NET Web Controls depending on ViewState & Postback cannot be used in ASP.NET MVC, right?
...
Can someone explain to or link to an article that explains how the parameters passed into the action of a controller are populated? I understand the basic mapping when you have the Controller/Action/ID and the ID is passed in as a variable, if it doesn't convert to the type that you are asking for then it won't be passed in to that actio...
I am working on a ASP.NET app and i have a need to post back to the server after a file is chosen in a FileUpload control without having to have the user explicitly click a 'submit' button. Is this possible? and if so, how?
...
Remember the little div that shows up at the top of the page to notify us of things (like new badges)?
I would like to implement something like that as well and am looking for some best practices or patterns.
My site is an ASP.NET MVC app as well. Ideally the answers would include specifics like "put this in the master page" and "do th...
I'm looking at setting up unit tests and integration testing, but I've run into the problem that the connection string in the web.config is unavailable for testing. The solution we've come up with to get around this is to have another connection string for testing, but I was wondering if there was a better way.
The other half of the iss...
I'm a bit confuse about the ASPNET account in SQL2005. In my web site connection string, i use sa account to connect to the sql database. When i use firefox to login to my website, i got a error "Login failed for user: 'AccountName'". i have found the answers on ms support site. It mentioned 3 methods to correct this method and one of th...
I want to create an organisational chart in ASP.NET. Does anyone have any recommendations for components to do this. Most third-party charting packages don't handle organisational charts. The chart should also draw left to right rather than top to bottom as most organisational charts do.
...
Hello,
I have a webservice (asmx file) in a directory requiring form authentication
When I try to add the WebReference through VS2005 - I get the following error:
The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/webchat/login.aspx?ReturnUrl=%2fwebchat%We...
I was intending on use the Title attribute in the @Page directive to customise each pages title, but it simply doesn't appear to do anything.
The site uses master pages - I don't know if that is a consideration.
Master Page snippet:
<%@ Master Language="VB" CodeFile="brightnorth.master.vb" Inherits="brightnorth" %>
<!DOCTYPE html PUBL...