Search

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

Matching Posts

  • Re: Overloaded actions in controllers

    [quote user="MrKurt"]I have a number of different resources that inherit some common functionality. I'd like to build a base/fallback controller for them and let them handle actions that are a bit more specific. The actions themselves are semantically similar, but take slightly different parameters[/quote] Sounds like a code smell to me. maybe there is an oppertunity to refactor to a simpler design. [quote user="MrKurt"]At the moment, I'm having to come up with creative
    Posted to ASP.NET MVC (Forum) by jason_m on 2/27/2008
  • Information about VS 08

    I have an MSDN subscription and received the VS 08 disks. I see many developers moving to this new version. I do have a few questions though. Is the current version available for download and on DVD the full release version, or is it a beta/RC? if it's only a Beta/RC candidate when will the full version be released? As an MSDN subscriber will I need to purchase a new license for VS08, or will my current license for VS05/MSDN transfer to VS08? I looked for this information on MS website, but all
    Posted to Visual Studio 2008 (Forum) by jason_m on 2/11/2008
  • Re: passing collecions to controler and GUI date picker

    To sum up: At this point MVC doesn't handle Enumerable<T> in the controller calls. Instea I would need to construct them myself (most likely a comma seperated string) For the sake of simplicity asp server controls don't work with MVC. however asp html controls will.
    Posted to ASP.NET MVC (Forum) by jason_m on 1/31/2008
  • Re: passing collecions to controler and GUI date picker

    thanks for the information. this will be helpful when converting to mvc.
    Posted to ASP.NET MVC (Forum) by jason_m on 1/31/2008
  • Re: passing collecions to controler and GUI date picker

    I agree the markup for server controls is limited at best. so I could create a form tag without the runat attribute and still use <asp:TextBox runat="server" id="foo" /> ? This I did not know. Comes back to my limited knowledge of html. Using server controls still renders the ulgy ClientID correct?
    Posted to ASP.NET MVC (Forum) by jason_m on 1/31/2008
  • passing collecions to controler and GUI date picker

    I have 2 questions (totally unrelated) about the mvc framework. I've only read about it. I haven't installed any of the requirements to use mvc (vs08, mvc bits/ext.) So far all the online examples demonstrate passing single entities to the controler. What if I need a collection of items, along with a string, or date? Example: I have a text box and a multi-select list box. Could my controler function look like this? public void DoSomething(string text, IEnumerable<int> selectedValues
    Posted to ASP.NET MVC (Forum) by jason_m on 1/31/2008
  • Re: Asp.Net MVC with SubSonic Support.....?

    subsonic is an orm tool. similiar to linq to sql or linq to entity. if you look at any of the examples about asp.net mvc there are 3 parts (view... aspx, nvelocity, etc.) controlers (the heart of asp.net mvc) and the model (the model also includes the repositories) so controlers are usually setup like this: public class MyControler { private IMyRepository repository; MyControler(IMyRepository repository) { this.repository = repository } } IMyRepository is an interface, so how you implement it is
    Posted to ASP.NET MVC (Forum) by jason_m on 12/10/2007
  • MPV and GridView

    I want to sharpen my OOP skills and feel that the MVP pattern would be a great tool for unit testing web app GUIs. I have seen many examples online about fetching/setting/saving single record data. what I even found a MSDN article dealing with name/value pairs for dropdowns and the like. However how would I handel GridViews, Repeaters, DetailViews etc. In other words, how should I handel collections of domain objects. Sorting, Paging, Delete, Update, Cancel. I have read some brief articles summarizing
    Posted to Architecture (Forum) by jason_m on 6/6/2007
    Filed under: MVP Pattern, Command Pattern, GridView
  • Re: ASP.NET / Ajax asp:UpdatePanel controls

    I would only wrap the necessary controls with the update panel. The only thing that changes within the update panel is the DropDownLists. it would look more like this: <table> <tr> <td><asp:Label... /></td> <td> <asp:DropDownList id="DropDown1" .../> <asp:RequiredFieldValidator .../> </td> </tr> <tr> <td><asp:Label... /></td> <td> <asp:UpdatePanel ...> <ContentTemplate> <asp:DropDownList
  • Re: CascadingDropDown Exception: Value cannot be undefined parameter name: type

    after futher research I solved the problem above. the service class needed a System.Web.Script.Services.ScriptService attribute the method needed both a System.Web.Services.ScriptMethod and System.Web.Script.Services.ScriptMethod attribute because the dropdown has no parent control I needed to use a static PageMethod which in turn calls the service (instead of calling the service directly). Now when I post back I get an error saying event validation fails. this makes sense (I think). I'm trying to
    Posted to ASP.NET AJAX Control Toolkit (Forum) by jason_m on 4/22/2007
Page 1 of 9 (81 items) 1 2 3 4 5 Next > ... Last »