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

Forums / General Discussions / Custom Property for Contentblock

Custom Property for Contentblock

2 posts, 0 answered
  1. X-Site AG ][ Patrick Riehmers
    X-Site AG ][ Patrick Riehmers avatar
    1 posts
    Registered:
    05 Jan 2011
    24 Jan 2011
    Link to this post
    Hi all,

    i hope somebody can help me.

    I want to add a "bool" Property to the ContentBlock-Widget, which we can set in the Backend and work with it programmaticly.

    As Example:

    Property "IsHighlight" :: bool

    1.ContentBlock cb = (ContentBlock)control;
    2.if (cb.IsHighlight) {...}

    Thanks for you help!!

    Regards
    Patrick
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    26 Jan 2011
    Link to this post
    Hi Patrick Riehmers,

    Thank you for using our services.

    This forum post explains how to inherit from the ContentBlock control. This forum post explains how to create a custom control designer for it.

    All the best,
    Radoslav Georgiev
    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