Textbox bottom border binding dynamic

2 posts, 0 answers
  1. Хосбаяр
    Хосбаяр avatar
    8 posts
    Member since:
    Jun 2013

    Posted 02 Mar 2017 Link to this post

    im trying bind textbox bottom border

    Property path : Style.BorderStyle.Bottom

    Expression: =IIf(Parameters.FooterNamesCount.Value=3,Solid,None)

    textbox bottom by default set none. But when parameter =3 bottom border not changed.

     

     

     

     

     

     

     

  2. Katia
    Admin
    Katia avatar
    693 posts

    Posted 03 Mar 2017 Link to this post

    Hello Хосбаяр,

    Value for BorderStyle property should be passed as strings, for example: 
    =IIf(Parameters.FooterNamesCount.Value = 3, "Solid", "None")
    Otherwise, the expression engine would try to process those values as built-in objects and fail to evaluate the expression.


    Regards,
    Katia
    Telerik by Progress
    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 Feedback Portal and vote to affect the priority of the items
Back to Top