Hide Fields in ASP.NET DynamicData 4.0

Posted on 2012-08-24
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.

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

Any ideas?
Question by:designavenue
    1 Comment

    Accepted Solution

    Actually I found the answer on the same site:

    Works beautifully!

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK ( for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
    Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now