Search

You searched for the word(s): userid:896767

Matching Posts

  • Re: UpdateFrom in MVC Preview 2

    I was hoping MVC 2 would have fixed the problem with TimeStamps. Using either: BindingHelperExtensions.UpdateFrom(e_UserAccount, Request.Form); or e_UserAccount.UpdateFrom(Request.Form); They both blow up with an exception: No type converter available for type: System.Byte[] So a secondary question would be how do you add additional type converters especially one for byte[]
    Posted to ASP.NET MVC (Forum) by quentins on 11/4/2009
  • Re: DataAnnotation not working in MVC 2

    I spent considerable time last night trying to find out the properties to the classes used within the T4 Template (List). I can't find how to look for properties like scaffold is false. Has someone created a simple list even for each class? I did find a cool grid list claass but it looks to be VERY old as it doesn't work any longer and is quite different then the LIST template in its properties that are accessed and how they are accessed.
    Posted to ASP.NET MVC (Forum) by quentins on 10/20/2009
  • Re: Scaffolding in MVC

    Thanks, there is indeed a lot of info on T4's. What is missing from what I can tell is a replacement set of T4's for MVC, the current ones don't take into consideration scaffolding for example. I am sure there are many other features that could be incoporated based as well.
    Posted to ASP.NET MVC (Forum) by quentins on 10/19/2009
  • Re: Scaffolding in MVC

    After going to bed last night my brain realized that what I'm looking for has not been created yet, partly due I think to MVC 2 just coming out. There are some new methods in MVC 2 that make replacing the T4 template views desirable. So yes I will take a stab at doing the replacement view templates and then I'll find a home for them. I am sure that a future version of MVC 2 will have them as well, but I am sure I can help out with the early adopters of MVC 2.
    Posted to ASP.NET MVC (Forum) by quentins on 10/19/2009
  • Scaffolding in MVC

    In MVC we can use templates to generate the List, Details, Edit content which is great. And there is the Dynamic Data capabilities that allow you to turn on/off which controls to use as well as attributes for validation and other characterisitcs. What I am looking for is a set of templates that actually takes advantage of these, OR where the master ones are so I can create my own intelligent ones. I have seen the examples using Dynamic Data that replaces the standard controls with Html.DisplayFor
    Posted to ASP.NET MVC (Forum) by quentins on 10/18/2009
  • DataAnnotation not working in MVC 2

    I have a MVC 2 application I have started. The solution has 3 projects, 1 is the model done in LLBLGenPro, and the other 2 are the ones generated by Studio. The LLBL model namespace is glossaryDB THe application namespace is glossary_mvc The table is Group, but its in a class called GroupEntity. The entire namespace is glossaryDB.EntityClasses.GroupEntity. The problem is that the code blow compiles happily, but doesn't seem to do anything. The CreatedDate field still shows the time component
    Posted to ASP.NET MVC (Forum) by quentins on 10/17/2009
  • Re: DataAnnotation not working in MVC 2

    I am not sure what a "naked class" is and I've not had anythinig come up on searches (once I got the filter turned off). For the fully qualified class name in the using, it compiles but still shows full datetime. using System.ComponentModel.DataAnnotations; using glossaryDB; using glossaryDB.EntityClasses; namespace glossaryDB { [MetadataType(typeof(GroupEntityMD))] public partial class GroupEntity { public class GroupEntityMD { [DataType(DataType.Date)] public object CreateDate { get;
    Posted to ASP.NET MVC (Forum) by quentins on 10/17/2009
  • Re: Replacing the Model in MVC - having issues.

    I edited my example so the ??? is not toList as I want to return a list to the View. I have created a View - strongly typed. for a List template. I made the name just GroupEntity, but it wants a list, so started down the dark path of finding thhe right properties / methods needed to do that. I rebuilt the view, with GroupEntity as the type, instead of GroupCollection. Then the following worked! <code> private GroupCollection gc = new GroupCollection(); // // GET: /Home/ public ActionResult
    Posted to ASP.NET MVC (Forum) by quentins on 10/14/2009
  • Replacing the Model in MVC - having issues.

    I've been convinced to use the ASP.NET MVC so as the first replacement, I'm trying to use my own model, and am struggling with getting data from it into the view. I have a table called "Groups" that is a simple look up table. I want to take the results of the table and populate a list in MVC. Something that should be very simple... or so I thought.... I've tried all kinds of things as I was getting errors like: The model item passed into the dictionary is of type 'System
    Posted to ASP.NET MVC (Forum) by quentins on 10/14/2009
    Filed under: MVC, LLBLGen, model replacement
Page 1 of 1 (9 items)