in

CodeSmith Community

Your Code. Your Way. Faster!

EntityGridView won't render in design view

Last post 02-21-2007 9:25 AM by wilschok. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-04-2007 7:04 PM

    • RichT
    • Not Ranked
    • Joined on 02-05-2007
    • Posts 1
    • Points 35

    EntityGridView won't render in design view

    Hi - I'm pretty much new to .netTiers (and from what I've seen so far I'm loving it!), so apologies if I'm missing something obvious. However when I try and bind either a GridView or an EntityGridView to one of the new typed entity datasources, it won't render in Visual Studio design mode. Here's an example:

    The code for this is shown below: 

    One of the reasons I think it might not be my cack-handedness is that I get similar render errors in design view on the Codesmith-generated admin website from the vanilla NetTiers templates, which I've not touched at all. This seems to happen on all the EntityGridViews, and either takes the form above or a different render error, e.g.

     

    Can anyone shed any light on this? I'm using .netTiers v2.0.0.403 templates, the ones that come down automatically with the current version of Codesmith.

    Thanks

    Rich

    • Post Points: 35
  • 02-05-2007 12:42 PM In reply to

    • mike123
    • Top 10 Contributor
    • Joined on 02-25-2005
    • Toronto, Ontario
    • Posts 723
    • Points 16,775

    Re: EntityGridView won't render in design view

    I think someone mentioned before, the design time render issue could be due to the empty table that is behind a specific datasource

    Mike Shatny
    -------------------------------------
    Member of the .netTiers team
    http://www.nettiers.com
    -------------------------------------
    • Post Points: 35
  • 02-21-2007 9:25 AM In reply to

    • wilschok
    • Not Ranked
    • Joined on 02-21-2007
    • Posts 1
    • Points 5

    Re: EntityGridView won't render in design view

    Hi,

     Just started testing with NetTiers, really cool !

    While testing i noticed that a standard ASP GridView or a NetTiers EntityGridView was not rendering in Design time in VS2005 when bound to an specific DataSource like my MovieDataSource.

    When trying to combine NetTiers with Ajax and some ControlToolKit-features i noticed that the GridView was showing nicely in design when placed in an UpdatePanel !

     Hope this makes a nice contribution :)

     If you don't like Ajax you can always put EnablePartialRendering of the ScriptManager to false, but still view your Grid in design.

     Greetings,

     William

    • Post Points: 5
Page 1 of 1 (3 items)
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems