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

  • Home
  • SEARCH
  • 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 7833343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T12:39:51+00:00 2026-06-02T12:39:51+00:00

i have made a TableDataSource which uses my custom TableCell with two Buttons in

  • 0

i have made a TableDataSource which uses my custom TableCell with two Buttons in it.

        List<ConductedActivitiesItem> _items = new List<ConductedActivitiesItem>();
        foreach(var item in this._logicActivities.Steps)
        {
            _items.Add(new ConductedActivitiesItem(){ Date = "12-13", Text = item.Lines[0], Checked = null });
        }

        var ds = new ConductedActivitiesDataSource(_items);
        var dg = new CSTableViewDelegate(null);

        dg.SelectionChanged += this.Steps_SelectionChanged;

        this.Pad_tbvMeasures.DataSource = null;

        this.Pad_tbvMeasures.DataSource = ds;
        this.Pad_tbvMeasures.Delegate = dg;
        this.Pad_tbvMeasures.ReloadData();

the List has 4 Items:
a
b
c
d

The Table View Shows:
a
b
c
d
a
b
c
d
a
b
c
d

Does anyone of you have an idea why the List shows more Items than the DataSource has?

  • 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-02T12:39:56+00:00Added an answer on June 2, 2026 at 12:39 pm

    Check your NumberOfSections() and RowsInSetion() methods to verify that they are returning the correct values.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have made an application in which there is a file main.c which uses
I have made a custom control which consists of a richtextbox and a picture
I have made an asp.net page which executes a long sp. lets say the
I have made two pages and now I wonder if I can DRY them.
I have made myself a list adder. When you click the link, it adds
i have made a gridview which has many columns and the editmode , some
I have made the code to find the similarity between two documents by finding
I have made a table users with two fields: username and password. I have
I have made a script to intimate the admin the list of module need
I have made a jquery functions which suppose to do 3 steps onload it

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.