silverlight controls

2 posts, 0 answers
  1. itesso
    itesso avatar
    9 posts
    Member since:
    Aug 2009

    Posted 26 May 2010 Link to this post

    All,

    Im using the telerik silverlight controls now for only a couple of days. In the default silverlight controls i have the option to set a textbox to enable multi line. So far i have not been able to do this with the telerik controls. Using the default controls is not an option for me since i want to apply telerik theming on all of my controls.

    Also, i would like to see a sample on how to use the telerik listbox, containing text items. My experience so far is that the listbox items that i create are not shown.

    Thanks,
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 27 May 2010 Link to this post

    Hello dannyh,

    There is a known issue with setting a textbox to be multiline and we are working on fixing it. However, as a workaround I may propose to you to use the property of GridViewDataColumn called EditorStyle which allows you to customize the editor being used. For example:

    <telerik:GridViewDataColumn.EditorStyle>
       <Style TargetType="TextBox" telerik:StyleManager.BasedOn="Office_Black">
              <Setter Property="AcceptsReturn" Value="True"/>
       </Style>
    </telerik:GridViewDataColumn.EditorStyle>


    I am sending you a sample project so that you can see and test the proposed solution. Furthermore, a example with the usage of ListBox is included.  

    I hope that helps, but in case this does not meet exactly your requirements, please do not hesitate to get back to us.


    Best wishes,
    Maya
    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.
Back to Top