in

CodeSmith Community

Your Code. Your Way. Faster!

OnLoad of FormView not being called (XXXFields.ascx template)

Last post 04-17-2008 2:07 AM by swin. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-16-2008 2:37 PM

    • CitizenBane
    • Top 50 Contributor
    • Joined on 10-30-2007
    • Grand Rapids, MI
    • Posts 94
    • Points 1,740

    OnLoad of FormView not being called (XXXFields.ascx template)

    The OnLoad event of my FormView in one of my field templates is not being fired.  

    Is this by design?  Does this have something to do with the fact that this formview is inside one of my UserControls/XXXXXXFields.ascx user controls (which is being used in a InsertItemTemplatePaths inside a MultiFormView)?

     

    I'm outside ur box, shiftin' ur paradigm.
    • Post Points: 35
  • 04-17-2008 2:07 AM In reply to

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

    Re: OnLoad of FormView not being called (XXXFields.ascx template)

     I think this is to do with the way the templates are loaded - I've noticed that various events in the underlying ascx don't get fired.  It's a pain but mostly I've been able to work around it.

    hth

    swin 

    -------------------------------------------------
    Member of the .NetTiers team
    -------------------------------------------------
    • Post Points: 5
Page 1 of 1 (2 items)
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems