Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8489725
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T21:54:29+00:00 2026-06-10T21:54:29+00:00

I have list<class> for showing data in repeater control using drag and drop. list.add(new

  • 0

I have list<class> for showing data in repeater control using drag and drop.

list.add(new class{id=0, name ="item1"});
list.add(new class{id=1, name ="item2"});
list.add(new class{id=2, name ="item3"});
list.add(new class{id=3, name ="item4"});

and on page load i showed this data in Repeater…

now i want to remove one “item2” from list and show agian on repeater,

it also remain same when i am doing refresh my page

how could i do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T21:54:30+00:00Added an answer on June 10, 2026 at 9:54 pm

    Change getDate as Follow…

     public static List<DragAndDropData> getdata()
     {
             List<DragAndDropData> LeftSideList=new List<DragAndDropData>();
             if(Session["leftside"]!=null)
             {
               LeftSideList=(List<DragAndDropData>)Session["leftside"];
             }
             else
             {
               LeftSideList.Add(new DragAndDropData { Id = 0, Name = "Item1" });
               LeftSideList.Add(new DragAndDropData { Id = 1, Name = "Item2" });
               LeftSideList.Add(new DragAndDropData { Id = 2, Name = "Item3" });
               LeftSideList.Add(new DragAndDropData { Id = 3, Name = "Item4" });
               LeftSideList.Add(new DragAndDropData { Id = 4, Name = "Item5" });
    
        }
             return LeftSideList;
     } 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a list of this class: public class Data { public string name
Using Visual Studio 2005 I have list of class files, when i try to
I have following HTML <div id=finalTree> <ul> <li class=last style=display: list-item;> <a id=DataSheets href=#>Data
I have an Employee class ( Id,Name,Age) with few objects. I am showing all
i neeed something like this in C#.. have list in class but decide what
I have List of particular class. I want to save this List at a
I have a list of class object that I created as a variable in
I have a list of class items List<MyClass> I have a seperate object that
I have a list of ProjectItem class instances: List<ProjectItem> allProjects . I need to
Let's say I have a list in a class which will be used in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.