views:

110

answers:

2

I have seen how you can hide a column by scaffolding. But how about hiding it from the gridview only and showing it on the details screen.

Thanks!

A: 

I think you should add a FormView to details page dynamically.

this link may help you:

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.formview.formview.aspx

Payam ACE
http://csharpbits.notaclue.net/2008/10/dynamic-data-hiding-columns-in-selected.htmlThis web page answered my question and a lot more.Thanks!
Gerardo Gala
A: 

http://csharpbits.notaclue.net/2008/10/dynamic-data-hiding-columns-in-selected.html

I found the answer here and a lot more.

Thanks!

Gerardo Gala