+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Search products

Search products

2 posts, 0 answered
  1. Asif
    Asif avatar
    110 posts
    Registered:
    18 Nov 2010
    21 Dec 2010
    Link to this post
    Hi,
    I am working on a search functionality to search products. for that I am using

    Telerik.Cms.Engine.

    ContentManager contentManager = new Telerik.Cms.Engine.ContentManager("FAQ");

     

    And I am showing data like this
    for Title = <%# Eval("Name") %>
    Product ID = <%# Eval("ID") %>
    Category = <%# Eval("Category") %>

    But not sure what should I use to get Category ID. Please help.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    22 Dec 2010
    Link to this post
    Hello Asif,

    You can use Eval only in case you can a datasource of ICategory objects from where you can get the category ID which will be part of the datasource.

    Regards,
    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