Search

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

Matching Posts

  • Re: Display list in view

    The cleanest solution is to just output a single list (ul, li) and tweak the css so that the products will displayed next to each other and automatically go to a new row when there is no room for the next item. html: <ul id="productlist"> <li>product 1</li> <li>product 2</li> ... <li>product 8</li> </ul> css: #productlist { list-style-type: none; margin: 0; padding: 0; width: 800px; } #productlist li { float: left; width: 200px; height: 200px;
    Posted to ASP.NET MVC (Forum) by Tijn on 7/4/2009
  • Re: fileupload with jquery ajaxform

    You have to set the ContentType of the JsonResult to text/html, otherwise it isn't properly handled by the jQuery ajax form: JsonResult jsonResult= Json(r); jsonResult.ContentType = "text/html"; // otherwise the ajax form doesn't handle the callback return jsonResult;
    Posted to ASP.NET MVC (Forum) by Tijn on 6/26/2009
  • Re: Running an MVC Application as a Sub-Application?

    You'll need something like area's: http://blog.codeville.net/2008/11/05/app-areas-in-aspnet-mvc-take-2/ Currently, I'm working on an app that has all the mvc bits in a subfolder and with the area concept, everyting works fine. I did tweak the code a little bit to remove the hardcoded 'area' subfolder references, but that's quite easy to do.
    Posted to ASP.NET MVC (Forum) by Tijn on 3/13/2009
  • Re: Paging using MVC

    Check out the paging sample from http://blogs.taiga.nl/martijn/2008/08/27/paging-with-aspnet-mvc/
    Posted to ASP.NET MVC (Forum) by Tijn on 2/16/2009
  • Re: Poll: How many people were affected by the change to generating Relative Urls?

    Yes, I'm experiencing this issue. When rendering partial views, the form actions sometimes aren't correct and also, Html.ActionLink() and Url.Content() don't behave properly. Especially when the controller executes its default action (Index) that doesn't show up in the address bar, things go wrong with the partial request. This is a 100% showstopper (unless there is a hidden switch somewhere that turns off relative urls :)).
    Posted to ASP.NET MVC (Forum) by Tijn on 1/28/2009
  • Re: Html Pager Helper

    A little while ago, I wrote a blog post about implementing a pager HtmlHelper. You can read it at http://blogs.taiga.nl/martijn/archive/2008/08/27/paging-with-asp.net-mvc.aspx . It also contains a little demo app.
    Posted to ASP.NET MVC (Forum) by Tijn on 9/11/2008
  • Experimental application with ASP.NET MVC, Castle Windsor and NHibernate

    Hi all! At the Cuyahoga project we're in the process of creating a new CMS admin backend system. A MonoRail-based solution is already in the works, but I was interested to see if the stuff we've built with MonoRail could also be built with ASP.NET MVC because it will probably attract much more developers than MonoRail. Everything went pretty well and most things could be ported easily. The test solution with a SQL Express database can be found here . It's also available from SVN: https
    Posted to ASP.NET MVC (Forum) by Tijn on 1/28/2008
    Filed under: MVC, ASP.NET MVC, CMS, monorail
  • Re: OR Mappers with ASP.NET 2.0

    jonorossi: Tijn, I had a look at the website framework that you have linked in your signature. I see you use NHibernate, how do you find it for web apps? It's perfectly suitable for web apps. I'm using one session-per-request and that works great. You get all the power you need (lazy loading etc) and you don't have to worry about long running sessions that might become invalid. In Winforms, this is much more difficult to handle, because sessions need to live longer if you want things like lazy loading
    Posted to Architecture (Forum) by Tijn on 4/18/2006
  • Re: OR Mappers with ASP.NET 2.0

    jonorossi: At the moment I am liking the way this example for NHibernate works; it is very clean and no duplicate code; if anyone else has looked at it I'd like to know if you think this is the best way to use NHibernate ( http://www.codeproject.com/aspnet/NHibernateBestPractices.asp ). This is definately one of the better articles around and if it fits your style, I suggest you go for it.
    Posted to Architecture (Forum) by Tijn on 4/17/2006
  • Re: Why use nhibernate or other OR Mappers?

    Talk to the guys in your company who decided to use NHibernate in the first place. They might have some good reasons to use it. On most occasions people switch to an OR mapper because they want to have a stronger OO design in their applications and come to the conclusion that this requires too much work to do all persistence stuff manually .
    Posted to Architecture (Forum) by Tijn on 2/27/2006
Page 1 of 4 (31 items) 1 2 3 4 Next >