CodeSmith Community
Your Code. Your Way. Faster!

MultiFormView vs FormView

Latest post 01-18-2007 12:53 PM by mousse. 3 replies.
  • 11-01-2006 6:54 PM

    • Axe
    • Top 500 Contributor
    • Joined on 10-17-2006
    • Sydney, AU
    • Posts 14
    • Points 460

    MultiFormView vs FormView

    Done a quick search on MultiFormView on forums and Wiki. Just wanted to know what the MultiFormView does over the FormView?. I'm aware of the TemplatePath which is really cool and should be incorprated into all templated .net controls. Does it do anything else different? I could use this control all the time even if I wasn't using NetTiers.

    Very Cool Cool

    When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth. - Sherlock Holmes, as recorded by Sir A. C. Doyle in "The Blanched Soldier"
    • Post Points: 35
  • 11-02-2006 2:06 AM In reply to

    • swin
    • Top 10 Contributor
    • Joined on 06-14-2006
    • London, UK
    • Posts 925
    • Points 34,785

    Re: MultiFormView vs FormView

    I just had a quick look through the MultiFormView code and I think the templatepaths are the obly extra feature.

    I agree that they are quite cool, but be wary of using code behind in the templated control as some events don't fire.

    swin

    ------------------------------------------------- Member of the .NetTiers team -------------------------------------------------
    • Post Points: 35
  • 11-02-2006 5:27 AM In reply to

    • Axe
    • Top 500 Contributor
    • Joined on 10-17-2006
    • Sydney, AU
    • Posts 14
    • Points 460

    Re: MultiFormView vs FormView

    Thanks
    Smile

    When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth. - Sherlock Holmes, as recorded by Sir A. C. Doyle in "The Blanched Soldier"
    • Post Points: 35
  • 01-18-2007 12:53 PM In reply to

    • mousse
    • Top 150 Contributor
    • Joined on 10-03-2006
    • Posts 27
    • Points 755

    Re: MultiFormView vs FormView

     

    I'm looking for a little more information on the use of the templatepaths.

    i have a formview that works functionally when i specify the itemtemplate and edititemtemplate directly in the formview. but when i try to move the code and hook the controls via the itemtemplatepath and edititemtemplatepath, each pointed to the same custom control containing a formview with the itemtemplate and edititemtemplate. problem is, setting edit mode results in the readonly template. do i have to separate the itemtemplate and edititemtemplates into different controls? i can't figure out why the formview doesn't use the edititemtemplate when in edit mode.

     

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