mvc

Microsoft Ajax Library Toolkit, DataView, fetchData , refresh and asp.net mvc JsonResult IndexJson( ) Method

I have been trying out the MS Ajax Toolkit Preview 6 I am trying to hook up a html table to a ... ms toolkit dataview control ... and the the dataview control get its data from an asp.net mvc controller methoid that rets Json. But I am having an issue with send params to the asp.net mvc end point with the fetchData. It all goe...

no ajax call after the session remove in MVC

hi, I have two MVC applications. I go to the MVC2 application from MVC1 application, I pass a token. When the MVC2 applications is loaded, its fetch the token and create the session. There are two button Logout and Save. I open MVC2 application in a IE browser and open the same application on the another tab. I just click the Logout butt...

Show Text dynamically on page load using jquery

Hi all I need to show text message dynamically once i enter into my site newly using jquery and which should be there for certain time period and rest to some place holder. that is which wants to start from left and show the message and rest on the right side. which is similar to animation effect..anyone kindly help me to do using jquer...

Is any diagramming software exists for MVC pattern with code generation?

Hello. MVC patter uses delegates to interconnect a lot of class objects with each over. For Qt they are signals and slots, for C# they are events, for Java they are closures. But all diagramming and UML designers i know only operates with inheritance and child-parent composition :(. Is it any software available that allows to draw class...

How to have a strongly typed partial view?

Hi Say I have just a normal view(not strongly typed) and in this view I have this <% Html.RenderPartial("ViewUserControl1") %> However this Partial View is strongly typed with a class(lets call it class1). How do I pass data to this strongly typed view? Like in my partial view I can't go right now and do something like this <% Mod...

Proper flow for processing non-displayed database fields in RoR forms?

I have the following database table: account - id first_name last_name email_address password_md5_hash last_logged_in last_ip_address date_time_created As you can see, an account record has several fields with values the user will not enter themselves. For instance, the password_md5_hash will be the hashed value of the password they e...

Silverlight ASP.NET MVC RESTful approach

I use Silverlight 3 with ASP.NET MVC. For database operations I query SQL Server database using FOR XML, and send the data as XML over wire to Silverlight client where it is deserialized to business object. Is this approach good? I do not find much resource on Internet about using Silverlight, ASP.NET and XML together. ...

PHP - MVC framework?

Hi there, I am just starting out in the PHP world. I have used asp.net mvc and come from a VS 2008 background.. I looked at PHP and it seems that a lot of the code is mixed in with the html... so I was looking for something to manage separation... I found http://kohanaphp.com/home but being a complete beginner in this i am unsure if...

create rss feeds page after posting a form in php

Hello, my question is the following How can I display a standard rss page after posting a form The problem I am having, is that it is not recognized as a feed if I use the forms action to get to the function that should echo out the rss/xml. If I use a direct link that is pointing to the function like controller/function I am getting ...

ASP.NET MVC - How To Refresh View From Actionmethod as a response to request?

Hello, I have an action-method in a controller that takes requests coming from a variety of different views. It is somewhat of a utility method and I simply want it to accept the parameters it is given - do something - and then refresh the view that sent the request. Right now, the only way I see to do this is by having the method fig...

validation using jquery while saving on Json

How to validate fields using regex while saving on Json. ...

ASP.NET MVC 2 RC Validation problem

I am trying to use the validation capability of ASP.NET MVC 2 (RC) I have a viewmodel public class CategoryPageViewModel { public int Id { get; set; } [Required(ErrorMessage="Category name required")] public string CategoryName { get; set; } } action [HttpPost()] public Action...

Ajax-driven complex layout RIAs and mvc frameworks

Hi! I need to combine a ajax-driven RIA frontend, using for example JQuery layout plugin (http://layout.jquery-dev.net/demos/complex.html) or ExtJs (http://www.extjs.com/deploy/dev/examples/layout/complex.html), with... a php mvc backend, using for example Zend MVC, CodeIgniter or Kohana Where can I find info on how to set up the a...

MVC coupling between models

Can a model depend on another model? Say I have a log model that other models want to access. ...

Ajax Redirect to Page instead of Updating Target

I am using a partial view for login and would like to redirect the user to a new page on success and show the validation errors in the partial view if the model is invalid. The ajax target is being updated and success or failure. If the the model is valid, it is showing the entire new page in the update target but I want it to redirect...

How to implement chat application in C# MVC application

hi I likely to integrate a chat application with my asp.net mvc (C#) application, can any one help me by sending sample source on that...and please tell that it is correct way to approch using jquery or ajax ? kindly help me with sample code. ...

reports in ASP.NET MVC1

What is the best way to create reports in ASP.NET MVC1? Any link for learn how to create reports? ...

How to use "count" in rails to show how many projects/tasks user has?

Hello, I defined method 'count' in my tasks controller as: def count @count = current_user.tasks.count end I'm not sure how to show that in my tasks views. Do I just use Tasks count: <% @count %>? How do I get in my view how many tasks the user has? Thanks ...

Kohana controller URI basics

Re: Kohana v2.3.4. Do I have to create a new controller for every URL which uses segment 2? In other words, if I want my URLs to be: www.example.com/foo www.example.com/bar ... do I need to create a unique controller for foo and a unique controller for bar? I'd like to create just one controller, if possible. EDIT: I'd like to avo...

Design Pattern for using XML as a list structure in C#

I am designing a list-based app in C# WinForms where I want to store my data in an XML file (which will eventually get serialized into a database). I have a custom control that displays my list data based on my XML, but I'm having trouble determining the best structure to handle the data. I have a ListManager class that keeps track of an...