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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:48:57+00:00 2026-05-26T09:48:57+00:00

I have a grid and when the user closes the form, I want to

  • 0

I have a grid and when the user closes the form, I want to save some settings for the user who is logged in. I already have the 2 implementation methods, but I am wondering where to implement this functionality:

  • Shall I create a static Utility class with the two methods
  • Shall I create a new class, and name this one something like UserSettingsManager?

For now I have two methods, but I can imagine that I need more methods in future. What should I do?

Edit:
I see already a few answers (thnx for that), but can you also say why you would go for that option?

  • 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-05-26T09:48:58+00:00Added an answer on May 26, 2026 at 9:48 am

    I would go for the UserSettingsManager, sounds reasonable.

    Avoid static classes unless absolutely needed because such classes are less easy to test/mock/inject than normal classes.

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

Sidebar

Related Questions

I have a jQuery grid with data with user data. I need to handle
I have MyContainer User Control with Grid inside. Each cell of this Grid contains
I have following user control: <UserControl.Resources> <Style TargetType=HeaderedItemsControl> <Setter Property=Template> <Setter.Value> <ControlTemplate TargetType=HeaderedItemsControl> <Grid>
I have a page which contains a dynamically generated grid, where a user can
I have grid with some textboxes and an image which goes out of grid
i have data-grid in my application and i want to customize my data-grid so
I have a grid and when a row is double clicked a form is
I have a RadGrid with a custom edit form ( FormTemplate ). The grid
So I have a grid of four divs. When the user clicks one, it
I have I view that extends Ext.grid.Panel and I want to be able 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.