More in this section

Forums / General Discussions / Documents in the Library API

Documents in the Library API

2 posts, 0 answered
  1. Steve
    Steve avatar
    3037 posts
    03 Dec 2008
    25 Apr 2010
    Link to this post
    Is there an "IsDocument" somewhere in the API, or should I just be filtering out image extensions manually?

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    25 Apr 2010
    Link to this post
    Hello Steve,

    You could use the MimeType property of the IContent object to get the type

    string ext = cnt.MimeType;

    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
2 posts, 0 answered