Hi Every One,
I'm thinking about making a subscription system.
The samples on the website I found to be difficult to follow because they are separated classes for very specific issues.
From what I understand (if I'm not wrong) the PayPal Recurring is the best choice for subscription system.
However I hope that you can help me to ...
The question is probably extremely easy to resolve, but I need to resolve it because I need to carry on with my project. I am using SQL Server Express 2008 at home, and I've been working on an ASP.NET MVC app that stores my DB in an mdf file in the project's folder. The problem is that the SQL Server in the Uni labs is SQL Server 2005, a...
Hi,
I'm learning ASP.NET MVC 1.0 and need to implement an asynchronous/dynamic page update. I'm new to MVC and jQuery so I'm not sure what to look for.
What I want to do is to allow a user to start a monitoring a domain layer function (similar to a news ticker) and then do a partial page update based on the continously changing results...
I want to make a Silverlight application in Expression Blend because of the rich UI and navigation of Blend. But I want to store the Silverlight application in an ASP.NET MVC web project. When I try to make a new Silverlight application, the default web application is an ASP.NET Web application (or web site, if I'm wrong). Can I make a s...
I ran into an interesting problem (hopefully, interesting not just for me :)
I am running Entity Framework 1 (.NET 3.5) and ASP.NET MVC 2. I have a Customer class that has many-to-one relationship with Country class (in other words, Country is a lookup table for customers - I described more in this post: http://stackoverflow.com/questio...
i use this code to fill dropdownlist
ViewData["projectType"] = new SelectList
(_dataManager.Project.ProjectTypeList(), "Id", "Name");
but what i must do if i want to use not one table column but two or more columns? for example
ViewData["projectType"] = new SelectList
(_dataManager.Project.ProjectTypeList(), "Id", "Name1"+"N...
I am embarking upon my first ASP.NET MVC project and I would like to get some input on possible ways to display database data and general best practice.
In short, the body of my webpage will show data from my database in a table like format, with each table row showing similar data. For example:
Name Age Position D...
I'm trying to write an auto-scaffolder template for Index views. I'd like to be able to pass in a collection of models or view-models (e.g., IQueryable<MyViewModel>) and get back an HTML table that uses the DisplayName attribute for the headings (th elements) and Html.Display(propertyName) for the cells (td elements). Each row should co...
My form includes a subset of Client entity properties and I also include a hidden field that holds an ID of the client. The client entity itself is provided via the GET Edit action.
Now I want to do entity update but so far I've only been trying without first loading the entity from the DB. Because the client object that comes in POST E...
I am very new to MVC.
I've been learning to use plain HTML or HtmlHelpers, eg. for textbox, and get the value back in the Controller using Request.Form.
But how do I use .NET controls with MVC? (eg. FileUpload)
(The reason I ask is I am trying to use a custom control for uploading multiple files - it's Flajaxian File Uploader, if anyon...
I have created a new ActionFilter for an ASP.NET MVC application that I'm creating. I have an action which accepts an Http Post and the argument of the action method accepts an object, for which I have created and registered a custom model binder.
I noticed that inside the IActionFilter.OnActionExecuting the value for filterContext.Cont...
I've created a object that I'd like to have accessible from wherever the request-object is accessible, and to "die" with the request, more or less like how you always in a mvc-application has access to the RouteData-collection. Especially it's important that I have access to this object in the execution of action-filters. And also there ...
I am integrating jQuery plugin FullCalendar, overall it has been really straightforward. I however have ran into a problem with adding events to the calendar. I am using ASP.NET MVC 1.0 and have found and followed this post.
I am returning JSON to the FullCalendar and the events are getting bound, but they all show up as all day events....
This is my scenario
I have an view(page) with list of items, a user could select single or multiple items from this page and click on a "Add to Group" button. Then a modal dialog(JQuery dialog) will be shown, from that he could select group, then press the add button. Which causes the items selected in the parent page is added to that p...
i wrote a simple function in controller
public string LinkProjectSquareFilter(int squareId)
{
return squareId.ToString();
}
how can i call it from view? it say The name 'LinkProjectSquareFilter' does not exist in the current context
...
I have an arraylist namelist in my model and in my view I need to fill the textarea with the values in the arraylist
{%>
<%=Html.TextArea("Namelist",Html.Encode(namelist))%>
<%}
But i`m having the following in my textarea being dislpayed:
System.Collections.ArrayList...
How to solve this?
...
Hi there,
We have a large existing ASP.NET WebForms application, but we are now moving over to MVC.
Rather than go through a painful process of trying to integrate MVC into the existing app, we're looking at creating a brand new VS project to completely isolate the new code.
As a first step, we are wanting to use the existing login pr...
Is there a way in ASP.NET Webforms to accommodate attribute based validation. If so any urls where this has been demonstrated. I am not looking for open source projects.
Just as you can use MVC Routing in Web Forms, can the validation framework be used?
...
I'm trying to output to Trace.axd from an ASP.NET MVC app. I have traces in OnActionExecuting(), OnActionExecuted(), OnResultExecuting() and OnResultExecuted() and all of them output to Trace.axd except for OnResultExecuted().
For completeness' sake here's my code (exactly the same for OnActionX() ):
protected override void OnResu...
Hi,
Excuse my limited knoweldge here.
In the past I have used Steve Sanderson's method to HTML encode by default at runtime: http://blog.stevensanderson.com/2007/12/19/aspnet-mvc-prevent-xss-with-automatic-html-encoding/
I have a need to alter img src and a href attributes before they are spat out in the user's browser. There is a sol...