I am still trying to figure out the right architecture for a complex ASP.NET MVC web application.
I looked in a lot of example code and everywhere it's done differently.
I would really appreciate your thoughts on this.
Another Question: Would you use Linq to SQL or the Entity Framework?
Thanks,
-Ben
...
Hi everyone, im curious about doing Globalization in asp.net MVC with globalization File and a Session["lang"]
the session lang can be setup quite easy to change, but the problem here is the Globalization File.
What should i do and how should i do to implement this?
Thank you very much
PS: I've search on Google and here for some sol...
I'm using ASP.NET MVC in a project and I have a requirement like this..
It has one main View(Main.aspx) and a Action methods to render the main view. And I have another View (SearchResult.aspx) and Action to render the search results content. I need to load the SearchResult page asynchronously in to a DIV in the main View. Is there a w...
Hello I can not predenrmi all values of the checkboxes on the screen.
Let me explain, I have 5 checkboxes for example 2 are enhanced not the others I'd like an array with all 5 checkboxes including 2 true and others false
Someone can help me.
in the meantime I tried to do another system I have created a class
public class PresenzaAO ...
I have a URL. Is it possible to somehow get the controller- and action-name and the routevalues? (which would normally be generated by the .NET MVC framework based on the definition in global.asax)
...
Hi
Im trying to make a solution like this http://stackoverflow.com/questions/1391060/httpmodule-with-asp-net-mvc-not-being-called
Now the question is how do I filter the request, I only want to Open an ISession if the request is for an ASPNET MVC Action, not for *.gif, *.css etc.
How should I handle this filtering?
...
Hello,
I'm learning JQuery, and I'd like to isolate basic functionalities. On my 'Index" page, there is only one item, an 'AJAX.Link' displaying the following message 'Say Hello!". here's the mark up:
<div id = "helloDiv">
<% = Ajax.ActionLink("Say Hello!",
"Hello",
new AjaxOptions {UpdateTarge...
My setup:
Have a view for a route like: /Pages/Details/2
The page details view has <% Html.RenderAction("CreatePageComment", "Comments"); %> to render a comment form
Comment form posts to Comments/CreatePageComment
/Comments/CreatePageComment returns RedirectToAction when a comment is created successfully
This all works nicely
My que...
I have a shared master page which I am using from 2 different areas in my mvc 2 app. The master page has an action link which currently specifies the controller and action, but of course the link doesn't work if I'm in the wrong area. I see no overload for actionlink that takes an area parameter, is it possible to do?
...
I need to include client side validation on one of my forms, and the webdesign did not take into account any space for validation messages.
I think using validation tooltips together with some borders around non-valid input controls would do the job, but I am having problem finding any javascript validation that is using tooltips.
Can ...
I read that it's possible, but didn't get idea how.
Any ideas?
...
Hi
I have written code for sending email in that i have included Save as Draft like in gmail feature. But now i tried simply saving when the Save as Draft button clicked. But i need Once "Save as Draft" button clicked still user need to change the body of email content means it will automatically save the remaining boby of the content u...
http://stackoverflow.com/questions/1458782/mvccontrib-gridmodel-is-it-possible-to-do-actionsyntax-in-a-gridmodel
I've read this article and it's quite useful but I can't apply this. I don't know if in the newest MVCContrib, they removed the ".Action()" because somehow I cannot access this.
Is there someway i can put the ActionLink of th...
Hi to everyone,
i am building an Asp.NET MVC web site, and i want to make the deployment to IIS automatically as part of the build process, as indicated in the title, i am using vs2010 beta2 with tfs2010 beta2, and the dev server is running widows server 2008 service pack2, wich means IIS 7.
so can anyone provide with set-by-step way on ...
i have a number of dropdown controls and on the change event it kicks off ajax getJSON() calls. I have a div next to each dropdown with a spinner image as i want to display "loading . . " as some of the ajax calls are expensive.
Is there anyway i can just have one spinner div on the page and have the spinner move right next to the drop...
Hi,
i'm building a website which has a parent-child Paging structure. I'm looking for a convenient way to administrate the website structure.
I want the pages to be sortable
Releasing the jQuery sortable code on my generated sitemap (nested UL), doesn't work properly...
$('ul.SiteMap ul').sortable();
What's really important is t...
In my master page I define the title of the page as follows:
<title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /><%= "- MyWebSite". %></title>
and then on every view I have something like:
<asp:Content ID="Title" ContentPlaceHolderID="TitleContent" runat="server">
Products
</asp:Content>
so that I always end up with...
I've got some data in a view that I would like to pass to a child partial view. Part of that data is a list of dates that I would like to display in the partial view. I'm pretty sure I can't pass an IEnumerable from one view to another (when I try list is null in the controller). Assuming that is the case, is there a good work around?
I...
I'm trying to implement comet style features by polling the server for changes in data and holding the connection open untill there is something to response with.
Firstly i have a static variable on my controller which stores the time that the data was last updated:
public static volatile DateTime lastUpdateTime = 0;
So whenever the ...
I want to create login user control in asp.net mvc site , to be used in multiple pages
for the normal pages i have view , controller , model how i will handle all this stuff for this user control
...