Cannot find control of formview's control with no data

Discussion in 'ASP .Net' started by =?Utf-8?B?RQ==?=, Sep 11, 2007.

  1. The issue is that I have two formviews in a multiview.

    The second formview's objectdatasource references controls in the first
    formview.

    If the query to populate the first formview results in no data then the
    first formview is not created and the second objectdatasource trying to
    reference the first formview throws an exception indicating it cannot find
    controls in the first formview.

    Is there a way to make the first formview to display with no data and not
    change the BLL or the DAL?



    --
    Ed Reyes
     
    =?Utf-8?B?RQ==?=, Sep 11, 2007
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Daves
    Replies:
    5
    Views:
    4,616
    topherzee
    Sep 10, 2008
  2. Chris

    Formview within Formview

    Chris, May 19, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    834
    Chris
    May 19, 2007
  3. David Thielen

    FormView/Repeater/ Eval(FormView data)

    David Thielen, Jun 16, 2006, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    948
    David Thielen
    Jun 16, 2006
  4. john
    Replies:
    6
    Views:
    2,963
    PJ on Development
    Nov 3, 2007
  5. Martin

    Formview cannot edit data

    Martin, Aug 24, 2008, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    234
    Martin
    Aug 24, 2008
  6. Wybo Dekker
    Replies:
    1
    Views:
    631
    Yukihiro Matsumoto
    Nov 15, 2005
  7. vdvorkin
    Replies:
    0
    Views:
    621
    vdvorkin
    Feb 10, 2011
  8. vdvorkin
    Replies:
    3
    Views:
    1,091
    vdvorkin
    Feb 14, 2011
Loading...