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

Forums / Developing with Sitefinity / News List Page

News List Page

5 posts, 0 answered
  1. Gökhan Yalçın
    Gökhan Yalçın avatar
    21 posts
    Registered:
    26 Nov 2009
    20 Jan 2010
    Link to this post
    Hi ,

    In ListPageMaster.ascx , I need to change the size of the thumbnails of the news  . How can i override the repeater's databound event ?

    Thanks .
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    20 Jan 2010
    Link to this post
    Hi Gökhan Yalçın,

    Create a custom class that inherits from NewsView. Override SetItemMetadata and access ThumbnailUrl metakey using contentItem parameter.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Gökhan Yalçın
    Gökhan Yalçın avatar
    21 posts
    Registered:
    26 Nov 2009
    20 Jan 2010
    Link to this post
    Hi Ivan ,

    Thanks for the quick answer . Should I change anything in the ControlsConfig.xml or in webconfig so that my custom class in the app_code works ?
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    20 Jan 2010
    Link to this post
    Hello Gökhan Yalçın,

    You only have to register the custom control in the web.config file

    sample

    <toolboxConrols>
    ....
    <add name="ControlName" section="SectionHere" type="NamespaceHere, AsselmblyHere"/>
    ....
    </toolboxConrols>


    All the best,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. Gökhan Yalçın
    Gökhan Yalçın avatar
    21 posts
    Registered:
    26 Nov 2009
    20 Jan 2010
    Link to this post
    Hi Ivan ,

    Thanks a lot , it worked .


Register for webinar
5 posts, 0 answered