Conditionally change border on textbox

5 posts, 0 answers
  1. Alquin Cook
    Alquin Cook avatar
    4 posts
    Member since:
    Dec 2009

    Posted 13 Sep 2010 Link to this post

    Hello,

    I am using Telerik Reporting Q1 2010 for WinForms and I'm trying to set up conditional formatting using the style builder dialog. I need to have the top border on a textbox display if a certain conditions exists. I do NOT need to have the whole textbox default border displayed. 

    I go into the style builder dialog and select 'Top' in the "select border" and click "ok". When I go back in to style builder the select border has changed back to default. I tried just display the report but the whole cell has edges and I only need to have the top border.

    Any suggestions?

    Thanks
  2. Peter
    Admin
    Peter avatar
    1651 posts

    Posted 15 Sep 2010 Link to this post

    Hi Alquin Cook,

    The Style Builder default behavior is only to set the borders and not to remember the dropdown last selection. For example you can set a left border and a top border to a different or the same style and style builder will set the appropriate style and show them in the preview. Once you return you can view your changes to the style in the Preview.

    For more information related to the styles check out Styling Reports help articles.

    All the best,
    Peter
    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
  3. Alquin Cook
    Alquin Cook avatar
    4 posts
    Member since:
    Dec 2009

    Posted 15 Sep 2010 Link to this post

    Hi Peter,

    I think you misunderstood my original post. I used the Style Builder to set the top border only, but all the borders (top, bottom, left right) are being set. It doesn't matter which border I set the textbox always highlights all the borders. How do I only highlight just the top border?

    Also, is there a way to dynamically manipulate the borders (top, bottom, left, right) of a textbox on/off?
  4. Peter
    Admin
    Peter avatar
    1651 posts

    Posted 16 Sep 2010 Link to this post

    Hi Alquin Cook,

    You are the first one to report such behavior and we are unable to reproduce it with the provided information - check the attached video. To further investigate we will appreciate if you prepare a sample report that exhibit's the issue and/or a video that show the behavior you have experienced through the support system.

    Greetings,
    Peter
    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
  5. Chandana
    Chandana avatar
    1 posts
    Member since:
    Feb 2019

    Posted 25 Feb in reply to Peter Link to this post

    I need to hide a textbox border for one case. top,right,bottom borders all alreadt sey. I need to cretae a border based on condition.I s this possible?
Back to Top