Clear ListView Items

Discussion in 'ASP .Net' started by ottomatic, Jun 11, 2008.

  1. ottomatic

    ottomatic Guest

    Howdy,

    I have a site with a DIV that contains a ListView. The size of the DIV is so
    that exactlly three items can fit inside of it, so I use a DataPager to page
    it.
    When user calls new and the InsertItemTemplate appears the items gets
    outside the DIV - not good. Is there a way to clear all items and only show
    InsertItemTemplate when inserting, no other items?

    I'm going bananas here...thanks in advance!
     
    ottomatic, Jun 11, 2008
    #1
    1. Advertising

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. William F. Robertson, Jr.

    ListBox.Items.Clear() causing System.NullReferenceException...

    William F. Robertson, Jr., Sep 14, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    2,862
    William F. Robertson, Jr.
    Sep 15, 2004
  2. David

    Response.Clear() doesn't clear

    David, Jan 31, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    1,038
    Mark Fitzpatrick
    Jan 31, 2008
  3. Ryan Liu
    Replies:
    1
    Views:
    2,239
    Alexey Smirnov
    Jan 21, 2009
  4. .
    Replies:
    0
    Views:
    734
  5. InvalidLastName

    Unrecognized element 'add' after <clear></clear>

    InvalidLastName, Feb 26, 2007, in forum: ASP .Net Web Services
    Replies:
    3
    Views:
    971
    Steven Cheng[MSFT]
    Mar 6, 2007
Loading...

Share This Page