We help IT Professionals succeed at work.
Get Started

Hide GridView Columns based on User Selection

expertsoul asked
Last Modified: 2012-05-06
Hi Experts,

I am working on some reports in ASP.NET with C#. More of the work is done at back-end creating the query and front-end we can simply attach it to GridView.

Now, we need user to be able to choose from the list of columns to be displayed at front-end.

I can figure out the query part, to make columns invisible and saving user preferences and stuff.
But I am not getting any idea for an interface for client to be able to choose columns from. Don't think that purchasing any tool would be an option. So, if you can suggest some way for implementing this, using javascript or asp.net.
I would prefer to have that interface on the same page itself, but can go for another page if no other option.

Any suggestions or similar site where this has been implemented?

Watch Question
Developer User Interface
This problem has been solved!
Unlock 2 Answers and 6 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE