More in this section

Forums / Bugs & Issues / Lose CSS when unsharing content block

Lose CSS when unsharing content block

6 posts, 0 answered
  1. Richard
    Richard avatar
    164 posts
    Registered:
    21 Nov 2009
    31 Aug 2011
    Link to this post
    Hi

    When unsharing a content block the associated css class is lost and it reverts back to sfContentBlock class. Is this a bug or by intent? I was hoping it would keep it until manually changed.

    Thanks

    Cheers
    Richard
  2. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    03 Sep 2011
    Link to this post
    Hi Richard Cross,

    Could you explain where do you set the CSS class for a Content Block. I suppose reseting the CSS class is by design.

    Best wishes,
    Lubomir Velkov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. Richard
    Richard avatar
    164 posts
    Registered:
    21 Nov 2009
    03 Sep 2011
    Link to this post
    Hi Lubomir

    Here http://screencast.com/t/LdLAr7w5uWW

    Thanks

    Cheers
    Richard
  4. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    07 Sep 2011
    Link to this post
    Hi Richard Cross,

    I tried to reproduce your issue but it seems to work ok. I set the CssClass of a shared content block to sfNone, then I unshared it and it was still sfNone. Are you sure it is not happening on some other actions?

    Kind regards,
    Lubomir Velkov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  5. Richard
    Richard avatar
    164 posts
    Registered:
    21 Nov 2009
    07 Sep 2011
    Link to this post
    Hi Lubomir

    What about if you call in a shared content block with the css set on, and then unshare it?

    Cheers
    Richard
  6. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    08 Sep 2011
    Link to this post
    Hi Richard Cross,

    I still can't reproduce it. Could you describe in more details - step by step - how you achieve this?

    All the best,
    Lubomir Velkov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

6 posts, 0 answered