Results 1 to 3 of 3

Thread: How can I display another view by clicking "@Html.displayfor()" tag in asp.net ?

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2013
    Posts
    12

    How can I display another view by clicking "@Html.displayfor()" tag in asp.net ?

    How can I display another view by clicking "@Html.displayfor()" tag in asp.net ?

  2. #2
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: How can I display another view by clicking "@Html.displayfor()" tag in asp.net ?

    Hello,

    This is an ASP.NET MVC Question, so I am going to move it to that forum.

    Gary

  3. #3
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Re: How can I display another view by clicking "@Html.displayfor()" tag in asp.net ?

    DispalyFor is used to bind your model values to certain types. Personally I think its an overkill on MS part. EditorFor is another story. If you need to include a "reusable" piece of html in your code, look up Partial Views.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width