My fitnesse tests fail with linq datacontext. I already tried adding a suite.config and then app config to my c:\fitnesse folder - where the .jar file is.
I added -c option c:\Fitnesse\suite.config to the command section on the test page. Here's the suite.config file: c:\fitnesse\myapp.config ^.svn$
Here's the myapp.config file:
The ...
I have an asp.net mvc site and i want to call the server when i change a dropdown list. my code hits the server controller action but i never get the callback. Is there any gotcha that i am missing here?
Here is my controller action:
public ActionResult LoadTeamsandApplications(int id)
{
WorkstreamRoadmapViewModel vm ...
I am having a trying problem with a project I'm working on using ASP.NET MVC. I have an ActionResult which is called by jQuery ajax which posts a file to be saved in a temporary folder, the original view which contains the form and jQuery code is called "New".
I try to validate the filetype within the ActionResult which is called by th...
i want to add 3 serial key to client system using httpcookie when he visited my website
my website off course in asp.net MVC
but
serial key is different different not same.
when i add a 4th cookie then 1 key is automatically deleted.
how i can do this.
when user want to see then he can see recent 3 key.
Are you know how to add thi...
Hello All
I am facing a problem for last 3weeks, I am fighting for its solution but still i am not getting anything which can be useful for me.
Problem - i need to open pdf on my view(inside my applicant page), right now i am able to do this but i am not satisfied to this because it take load of time, the reason is time taken in pdf re...
I came across this interesting problem with an ASP.net MVC website, there is an Action method to process uploaded files and it works fine with cassini webserver but when I tried with IIS in my hosting machine the upload fails, after spending lot of time I noticed that it is because of the URL rewite rules inside set to change the incomin...
I ve gone through sample asp.net mvc nerd dinner application... But still cant understand the point where and when should i go for partial views?
Is it similar to usercontrols in webformw?
Note:
It would be helpful to see a partial view in action... Any sample...
...
Hi,
I am using Asp.net MVC.
I want to send a url of my application in a mail.
So That instead of sending url like "/Home/Index", I'd like to use url.action() method, as I've modified my url for IIS 7.0 classic mode (e.g. "/home.aspx/Index").
So How can I do that in C#?
We may need to use constructor, But don't have clear idea...
...
After learning about jQuery and the whole AJAX thing, I got very excited. I decided to completely replace my forms with just input fields. And the data is sent to the server when the '<'input type="button" /'>' clicked.
// JavaScript
function submit() {
removeInfo();
btn = $('#button');
$('#button').replaceWith('<img id="theimage" src...
I want to implement event management in my application and i wanna know what may be the best practice to achieve this goal. Event management in my case is to maintain a log of every insert/update/delete operation in my application.
...
There are 3 clients that looks at same data instance, one of them edits data and submits on server, what are the mechanisms to make the other two clients instantly see the updated data ?
I am thinking of some AJAX poll from time to time that will force page reload if there are changes or some page expire , is there anything else ?
...
Possible Duplicate:
Why should you use an ORM?
This quote is from the book "Asp.net mvc framework unleashed" by Walther and so far is a very good book.
The Entity Framework shields you from needing to interact directly with the database. By
taking advantage of the Entity Framework, you never need to write SQL queries aga...
Im trying to exclude a required property(Password) so the modelstate dont validate that property, but for some reason it still validate even when i try to exclude it.
Controller:
[Authorize, AcceptVerbs(HttpVerbs.Post)]
public ActionResult _Edit(int id, [Bind(Exclude = "Password")]FormCollection collection)
{
var us...
I am using ASP.NET MVC 2 & .Net 3.5 with Visual Studio 2008.
Ok, what I am referring to by 'Wizard type page navigation', is a site where you have a list of stages in a given process or workflow. There is some kind of visual denotation to indicate which part of the stage you are at. I have already implemented this part (albeit, it smell...
I am in the design stage at the moment and was wondering how I would update a table every 5 seconds.
My table will display read-only data returned from my model.
Normally my view would just have <table></table> HTML and then a foreach loop to write out the data.
However because I want to refresh this whole table every 5 seconds I am u...
I originally built my site in MVC 1.0 using the NerdDinner tutorial as a basic outline. Many of the early design decisions were made simply b/c "that's how NerdDinner did it" Since then, it has really grown and was converted to 2.0.
My validation still works the way NerdDinner did it and is very minimal, so although I've read about ot...
I am a non-coder that needs to get some information to my developer. One of the questions was whether we were running ASP.NET MVC or Web Forms? What is the best way I can tell this. If you want to take a look, the site is at http://sokanu.com (just a splash page)
Thanks guys
...
I have a view with a button. When the user clicks the button I want them redirected to a data entry view. How do I accomplish this? I should mention the views are created, tested, and functioning. I can get to them by typing the url.
I looked for steps explaining how to wire up the onclick event of the button but I'm new to MVC and kind...
So like the title says, I created a view model in my asp.net mvc application so it would be strongly typed to my view. My view model is a combination of two of my model classes. Now when the user hits the save button on that view, it goes to a controller. How does it know what controller to go to? I built my controller 1 - 1 so to sp...
I'm looking to do something similar to this post:
http://stackoverflow.com/questions/380221/how-to-hide-controller-name-in-url
only without any sort of ID.
The server is running IIS 6 and the pages already show up without extensions so it's not a wildcard issue.
I'm looking to hit http://website.com/action-name
I have http://website...