Skip to content
Loading
how to render the another view(blog) inside the index view?    
  •     
  •         class="form-group">    
  •             class="col-md-offset-2 col-md-10">    
  •                 "submit" value="Create" class="btn btn-default" />    
  •                 
  •             
  •         
  • }  
  • I am trying a pass a blog model inside the index view but I get an error:
     
    Line 1: @model IEnumerable
    Line 2: @model IEnumerable
    Line 3:
    Line 4: @{
    Parser Error Message: Only one 'model' statement is allowed in a file.
     
    see reference:
     
     
    How to render the blogdata (blogdescription and blogtype) inside the index view??
     
    please help?
     
    I am try this issue to solve last 1 day but still issue not solved?

    17 Replies

    Know the answer? Post it — somebody with the same question will find it here.