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 8113971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T03:00:13+00:00 2026-06-06T03:00:13+00:00

So I have built quite a few custom controls and I have been having

  • 0

So I have built quite a few custom controls and I have been having problems with controls that have types of System.Collections.Generics.Lists<>() in them. Basically they are caching their results into a resource file and saving my main form’s designer code to reference the resource file instead just being a normal list.

The List<> is getting populated from a WCF data source way after runtime.

This is becoming a problem because I have code that fills a listview on the set methods of those properties. So how can I tell my control not to cache the results of my properties. I assume I would have to first telling it to cache results but I am not.

My properties look like this in the control.

private List<Job> _jobs;


public List<Job> Jobs {
    get { return _jobs; }
    set { _jobs = value; }
}

Then they are getting set like this in my Main’s forms designer code.

this.customControl.Jobs = ((System.Collections.Generic.List<Jobs>)(resources.GetObject("customControl.Jobs")));

I have asked a pre-cursor to this question here

  • 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-06T03:00:16+00:00Added an answer on June 6, 2026 at 3:00 am

    Try to add this attribute on your property :

    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    public List<Job> Jobs {
       get { return _jobs; }
       set { _jobs = value; }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having quite a few problems with custom extensions and intercepting existing handlers.
Django happens to have a Signals system built in and it would be quite
We have quite a few validation methods that need to access repositories / database
I have a quite complicated query which will by built up dynamically and is
I have built so far an application that allows the user to drag and
I have built a Custom MaskedTextBox , changing the values of BeepOnError and AsciiOnly
I'm rather new to MS Build and have been reviewing many of the built
I have built an ASP.NET MVC app some time ago, and after a few
I have seen quite a few questions here about the best storage ideologies for
I have an ASP.NET application that uses a custom MembershipProvider to allow users to

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.