troubleshooting Question

C# Gridview - dynamically show or hide a column

Avatar of brdlckhrt
brdlckhrt asked on
.NET ProgrammingC#
3 Comments1 Solution9514 ViewsLast Modified:
I am developing a website application using Visual Studio 2005, .NET 2.0, and c#.

I have a gridview using a SQLDataSOurce. There are 2 columns always visible in the gridview. One column is an ItemTemplate that, through an AJAX control,  allows users to only enter numbers (the quantity of a particular item the user wants to order), the second column shows a short description of the item. I would like to have a third column in the gridview that the user could show or hide by clicking a button. The third column is an extended description of the item that I only want to show if the user needs more information on the item and then hide the column when not needed.

Thanks for any and all help.

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros