title: umbraco - how to get all of nodes by Document Type
body: <p>How can I get all nodes by specific <code>Document Type</code>? </p>
  
  <p>For example, I want to get in code behind all of nodes with <code>Document Type: s3Article</code>. How can I do this?</p>
  
  <hr>
  
  <p>New informations:</p>
  
  <pre><code>    IEnumerable&lt;Node&gt; nodes = uQuery.GetNodesByType("s3Article").Where(x =&gt; x.NiceUrl.Contains("en"));
  
      lvArticles.DataSource = nodes;
      lvArticles.DataBind();
  </code></pre>
  
  <p>This is my code. I had to use <code>Where(x =&gt; x.NiceUrl.Contains("en"))</code>, because I have 2 language version- without <code>Where</code> I receive nodes from all catalogues with doctype <code>s3Article</code>, but I want to get only from one language version.</p>
  
  <p>Problem is here:</p>
  
  <pre><code>&lt;a href='&lt;%# umbraco.library.NiceUrl(Tools.NumericTools.tryParseInt( Eval("id"))) %&gt;'&gt;&lt;%# Eval("title")%&gt;&lt;/a&gt;
  &lt;%# Tools.TextTools.makeIMGHTML("../.."+ Eval("img").ToString(),"180") %&gt;
  &lt;%# umbraco.library.StripHtml(Limit(Eval("Article"), 1000))%&gt;
  &lt;%# Eval("author")%&gt;
  </code></pre>
  
  <blockquote>
    <p>System.Web.HttpException: DataBinding:
    'umbraco.presentation.nodeFactory.Node' does not contain a property named 'title'.</p>
  </blockquote>
  
  <p>The same problem happens with the title, img, article, author. Only ID works nice. How to resolve it?</p>