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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:02:46+00:00 2026-06-13T17:02:46+00:00

In my current system the menu is generated via a CustomControl code, which is

  • 0

In my current system the menu is generated via a CustomControl code, which is shared by others project to generate menu as well. Currently i need to add some functionality to it so that when the scree size shrunk it would be reworked into a design more suited for smaller screen i.e. mobile.

I have worked out how should i make the changes work, however, i found that having html code generated via CustomControl might not be that easy to maintain. For one, the person who’s going to change it would need to know what it is doing and need to have the knowledge on the lifecycle of it as well.

I’m thinking whether i should refactor the CustomControl into a UserControl, but having read the different between them, it seems that CustomControl is actually more suited since this menu system is being shared across multiple application.

So what do you guys think? Is having it generated by CustomControl a bad practice (since it makes it more difficult to maintain)? If i use UserControl is that a way to cut down the code duplication for it?

Thanks

  • 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-13T17:02:47+00:00Added an answer on June 13, 2026 at 5:02 pm

    If the control is tied to the application, I’d opt for UserControl, since as you stated, it’s easier to visualize, edit, and maintain.

    if you need to use it across several projects, or it needs to be highly programmable/customizable, then I’d opt for a server control.

    I wouldn’t consider one or the other bad practice. I would choose based on which is simplest to implement and maintain.

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

Sidebar

Related Questions

On my current project, which is a delivery system, I have a list of
I Delphi, I need a function which determinates if the system menu (resp. window
I have a system in which the main form is the menu, and it
I would like to bind the current focus to the datacontext. My menu system
I'm trying to determine if the current system is 32 or 64 bit. And
We are designing an update to a current system (C++\CLI and C#). The system
How can I get the current system status (current CPU, RAM, free disk space,
One of my application tasks is to get the current system date and compares
I'm trying to measure the popularity of a post but there's no current system
How would I get the system's current language and use that for the ResourceBundle?

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.