?
Solved

Hide Fields in ASP.NET DynamicData 4.0

Posted on 2012-08-24
1
Medium Priority
?
882 Views
Last Modified: 2012-08-24
I am playing around with ASP.NET v4.0 DynamicData and what to find a way to hide fields from the details/edit view. I can already hide columns in the grid via ScaffoldColumn=false.

Given that 4.0 is based on FormView, I am unable to use the old iAutoFieldGenerator mentioned in this article, as FormView does not use that.

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

I want to do this centrally in a class rather than custom pages.

Any ideas?
0
Comment
Question by:designavenue
1 Comment
 

Accepted Solution

by:
designavenue earned 0 total points
ID: 38331742
Actually I found the answer on the same site:

http://csharpbits.notaclue.net/2010/02/new-way-to-do-column-generation-in.html 

Works beautifully!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question